Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 213.1 kB / 24.48 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 48.06 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2615, allocations: 53.37 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03126/0.2928, allocations: 24.55 MB / 456.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005465/0.2982, allocations: 3.774 MB / 460.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002848/0.2985, allocations: 7.938 kB / 460.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007101/0.2992, allocations: 190.8 kB / 460.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008017/0.3, allocations: 346.1 kB / 461.2 MB, free: 9.723 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004331/0.3043, allocations: 1.457 MB / 462.7 MB, free: 8.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.3058, allocations: 0.9028 MB / 463.6 MB, free: 7.363 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.306, allocations: 82.89 kB / 463.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007533/0.3135, allocations: 4.131 MB / 467.8 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004856/0.314, allocations: 294.9 kB / 468.1 MB, free: 2.863 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.106e-05/0.3141, allocations: 32 kB / 468.1 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.3156, allocations: 0.7376 MB / 468.8 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.3158, allocations: 95.67 kB / 468.9 MB, free: 2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.316, allocations: 167.4 kB / 469.1 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.3173, allocations: 0.8531 MB / 469.9 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.3173, allocations: 4 kB / 469.9 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3173, allocations: 0 / 469.9 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.3173, allocations: 0 / 469.9 MB, free: 0.9766 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001079/0.3184, allocations: 0.5932 MB / 470.5 MB, free: 364 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3184, allocations: 8.031 kB / 470.5 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004672/0.3189, allocations: 60.72 kB / 470.6 MB, free: 296 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.3194, allocations: 226 kB / 470.8 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.3194, allocations: 21.03 kB / 470.8 MB, free: 24 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7e-05/0.3195, allocations: 32.36 kB / 470.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006688/0.3202, allocations: 489.9 kB / 471.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.3202, allocations: 4 kB / 471.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.064e-05/0.3202, allocations: 16 kB / 471.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.3202, allocations: 4 kB / 471.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003655/0.3206, allocations: 213.7 kB / 471.6 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/0.3343, allocations: 4.083 MB / 475.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.3347, allocations: 173.1 kB / 475.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.3348, allocations: 84.77 kB / 475.9 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01132/0.3462, allocations: 2.684 MB / 478.6 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.322e-05/0.3462, allocations: 34.56 kB / 478.6 MB, free: 8.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.395e-06/0.3462, allocations: 4 kB / 478.6 MB, free: 8.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.00677/0.353, allocations: 1.263 MB / 479.9 MB, free: 6.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.353, allocations: 55.41 kB / 480 MB, free: 6.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.3533, allocations: 236 kB / 480.2 MB, free: 6.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.3534, allocations: 33.7 kB / 480.2 MB, free: 6.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.3535, allocations: 196.3 kB / 480.4 MB, free: 6.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.648e-05/0.3536, allocations: 99.17 kB / 480.5 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.3537, allocations: 65.69 kB / 480.6 MB, free: 6.051 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3539, allocations: 338.7 kB / 480.9 MB, free: 5.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.3541, allocations: 91.97 kB / 481 MB, free: 5.621 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.3544, allocations: 186.9 kB / 481.2 MB, free: 5.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/0.3548, allocations: 303 kB / 481.5 MB, free: 5.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3548, allocations: 0 / 481.5 MB, free: 5.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007645/0.3556, allocations: 402.8 kB / 481.9 MB, free: 4.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.3556, allocations: 4 kB / 481.9 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.3556, allocations: 4 kB / 481.9 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004758/0.3604, allocations: 0.9341 MB / 482.8 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.3607, allocations: 67.84 kB / 482.9 MB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.3626, allocations: 1.855 MB / 484.7 MB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.3628, allocations: 8 kB / 484.7 MB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.3629, allocations: 16 kB / 484.7 MB, free: 1.648 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002175/0.3631, allocations: 157.7 kB / 484.9 MB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.402e-05/0.3631, allocations: 27.8 kB / 484.9 MB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008302/0.364, allocations: 0.4914 MB / 485.4 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.364, allocations: 3.984 kB / 485.4 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.364, allocations: 4 kB / 485.4 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007691/0.3648, allocations: 0.7237 MB / 486.2 MB, free: 128 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.3661, allocations: 0.8441 MB / 487 MB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3661, allocations: 0 / 487 MB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.3663, allocations: 43.98 kB / 487 MB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001931/0.3683, allocations: 324.4 kB / 487.4 MB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.3683, allocations: 4 kB / 487.4 MB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006156/0.3689, allocations: 0.6539 MB / 488 MB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3689, allocations: 4 kB / 488 MB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.37, allocations: 0.729 MB / 488.7 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/0.37, allocations: 27.78 kB / 488.8 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.3701, allocations: 11.94 kB / 488.8 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.3703, allocations: 12.12 kB / 488.8 MB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.3703, allocations: 11.97 kB / 488.8 MB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.3703, allocations: 15.98 kB / 488.8 MB, free: 13.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001786/0.3705, allocations: 165.6 kB / 489 MB, free: 13.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3705, allocations: 3.938 kB / 489 MB, free: 13.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007458/0.3712, allocations: 183.7 kB / 489.2 MB, free: 13.01 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000666/0.3719, allocations: 274.7 kB / 489.4 MB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000901/0.3728, allocations: 443.2 kB / 489.9 MB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3728, allocations: 0 / 489.9 MB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005545/0.3734, allocations: 228.5 kB / 490.1 MB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008225/0.3742, allocations: 132.1 kB / 490.2 MB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.3757, allocations: 0.8381 MB / 491.1 MB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.3759, allocations: 172.2 kB / 491.2 MB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.527e-05/0.376, allocations: 31.42 kB / 491.3 MB, free: 10.84 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.376, allocations: 0 / 491.3 MB, free: 10.84 MB / 398.1 MB Notification: Performance of Templates: time 0.01321/0.3892, allocations: 8.292 MB / 499.6 MB, free: 2.566 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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: 9.202633056003833]