Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001978/0.001978, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 194.2 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 47.92 kB / 370.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3069, allocations: 52.18 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004409/0.3113, allocations: 2.694 MB / 425.8 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.3131, allocations: 0.6349 MB / 426.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.3133, allocations: 12 kB / 426.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.3136, allocations: 63.36 kB / 426.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.3138, allocations: 83.2 kB / 426.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.314, allocations: 91.88 kB / 426.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004442/0.3145, allocations: 378.3 kB / 427 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002598/0.3148, allocations: 113.4 kB / 427.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.315, allocations: 155.5 kB / 427.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.3152, allocations: 127.3 kB / 427.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.442e-05/0.3152, allocations: 32 kB / 427.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.953e-05/0.3153, allocations: 32 kB / 427.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.156e-05/0.3154, allocations: 71.77 kB / 427.5 MB, free: 9.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.3155, allocations: 143.4 kB / 427.7 MB, free: 9.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005588/0.3161, allocations: 380.9 kB / 428.1 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3161, allocations: 0 / 428.1 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3161, allocations: 0 / 428.1 MB, free: 9.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.3161, allocations: 0 / 428.1 MB, free: 9.469 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001033/0.3171, allocations: 0.5481 MB / 428.6 MB, free: 8.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3172, allocations: 8.031 kB / 428.6 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.688e-05/0.3173, allocations: 40.7 kB / 428.6 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004688/0.3177, allocations: 198 kB / 428.8 MB, free: 8.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.3178, allocations: 25.03 kB / 428.9 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.925e-05/0.3178, allocations: 36.33 kB / 428.9 MB, free: 8.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000604/0.3184, allocations: 325.8 kB / 429.2 MB, free: 8.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.3184, allocations: 0 / 429.2 MB, free: 8.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.3185, allocations: 16 kB / 429.2 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.3185, allocations: 11.94 kB / 429.2 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005529/0.319, allocations: 206.4 kB / 429.4 MB, free: 8.004 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.3208, allocations: 0.8088 MB / 430.3 MB, free: 7.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.3211, allocations: 146.7 kB / 430.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/0.3214, allocations: 72.83 kB / 430.5 MB, free: 6.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.3215, allocations: 7.938 kB / 430.5 MB, free: 6.898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.3215, allocations: 38.5 kB / 430.5 MB, free: 6.852 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.3215, allocations: 0 / 430.5 MB, free: 6.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006843/0.3222, allocations: 216.6 kB / 430.7 MB, free: 6.637 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.3222, allocations: 51.41 kB / 430.8 MB, free: 6.574 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/0.3226, allocations: 191.2 kB / 431 MB, free: 6.379 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.3226, allocations: 33.7 kB / 431 MB, free: 6.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.3228, allocations: 196.3 kB / 431.2 MB, free: 6.145 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.207e-05/0.3229, allocations: 71.41 kB / 431.3 MB, free: 6.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-05/0.323, allocations: 57.59 kB / 431.3 MB, free: 6.012 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.3232, allocations: 326.8 kB / 431.6 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.3233, allocations: 63.95 kB / 431.7 MB, free: 5.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/0.3236, allocations: 113.9 kB / 431.8 MB, free: 5.488 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/0.324, allocations: 189.9 kB / 432 MB, free: 5.281 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.324, allocations: 0 / 432 MB, free: 5.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004834/0.3245, allocations: 241.2 kB / 432.2 MB, free: 5.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3245, allocations: 8 kB / 432.2 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3245, allocations: 4.125 kB / 432.2 MB, free: 5.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.3245, allocations: 4 kB / 432.2 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.3248, allocations: 59.91 kB / 432.3 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3248, allocations: 0 / 432.3 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.325, allocations: 27.83 kB / 432.3 MB, free: 4.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.325, allocations: 12 kB / 432.3 MB, free: 4.926 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.3251, allocations: 141.7 kB / 432.5 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.3252, allocations: 23.84 kB / 432.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004306/0.3256, allocations: 191.4 kB / 432.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3256, allocations: 0 / 432.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3256, allocations: 0 / 432.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3256, allocations: 0 / 432.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.3259, allocations: 213.2 kB / 432.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3259, allocations: 3.938 kB / 432.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.3262, allocations: 55.84 kB / 433 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.3262, allocations: 7.938 kB / 433 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.3262, allocations: 4 kB / 433 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3262, allocations: 4 kB / 433 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.3262, allocations: 3.984 kB / 433 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006786/0.3269, allocations: 349.8 kB / 433.3 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.327, allocations: 23.78 kB / 433.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.327, allocations: 4.062 kB / 433.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.3272, allocations: 11.98 kB / 433.4 MB, free: 3.848 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/0.3272, allocations: 15.97 kB / 433.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.3272, allocations: 8 kB / 433.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.3274, allocations: 136.4 kB / 433.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3274, allocations: 0 / 433.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003632/0.3277, allocations: 83.73 kB / 433.6 MB, free: 3.609 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.phi,inductor2.i,capacitor2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001481/0.3279, allocations: 103.4 kB / 433.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004387/0.3283, allocations: 147.8 kB / 433.8 MB, free: 3.352 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3283, allocations: 4.25 kB / 433.8 MB, free: 3.348 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.3285, allocations: 71.89 kB / 433.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.3289, allocations: 28.11 kB / 433.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.3305, allocations: 0.8384 MB / 434.8 MB, free: 2.387 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.3307, allocations: 159.4 kB / 434.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.972e-05/0.3308, allocations: 21.62 kB / 435 MB, free: 2.191 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.556e-05/0.3308, allocations: 15.44 kB / 435 MB, free: 2.18 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3308, allocations: 0 / 435 MB, free: 2.18 MB / 334.1 MB Notification: Performance of Templates: time 0.006412/0.3372, allocations: 2.111 MB / 437.1 MB, free: 104 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.876921396702528]