Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001609/0.001609, allocations: 116.1 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001702/0.001702, allocations: 214.8 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.44/1.44, allocations: 230.4 MB / 258.1 MB, free: 8.141 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 63.89 kB / 378.7 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2114, allocations: 53.32 MB / 432.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02966/0.241, allocations: 27.41 MB / 459.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00502/0.2461, allocations: 4.21 MB / 463.7 MB, free: 7.625 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.2462, allocations: 4 kB / 463.7 MB, free: 7.621 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000578/0.2468, allocations: 218.7 kB / 463.9 MB, free: 7.406 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006104/0.2474, allocations: 326.2 kB / 464.2 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003436/0.2508, allocations: 1.477 MB / 465.7 MB, free: 5.609 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009764/0.2518, allocations: 0.8912 MB / 466.6 MB, free: 4.715 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.252, allocations: 80.62 kB / 466.7 MB, free: 4.637 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005922/0.2579, allocations: 4.111 MB / 470.8 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004051/0.2583, allocations: 294.9 kB / 471.1 MB, free: 236 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.937e-05/0.2583, allocations: 31.94 kB / 471.1 MB, free: 204 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.2596, allocations: 0.7337 MB / 471.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.2598, allocations: 91.67 kB / 471.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.26, allocations: 199.2 kB / 472.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.2611, allocations: 0.853 MB / 473 MB, free: 14.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2611, allocations: 0 / 473 MB, free: 14.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2611, allocations: 0 / 473 MB, free: 14.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.2611, allocations: 0 / 473 MB, free: 14.32 MB / 382.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.0009862/0.2621, allocations: 0.6658 MB / 473.6 MB, free: 13.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2621, allocations: 8.031 kB / 473.6 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004666/0.2626, allocations: 56.73 kB / 473.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000463/0.2631, allocations: 292.3 kB / 474 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.2631, allocations: 20.94 kB / 474 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/0.2631, allocations: 24.38 kB / 474 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005341/0.2637, allocations: 342.6 kB / 474.4 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.2637, allocations: 3.938 kB / 474.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.2637, allocations: 12 kB / 474.4 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.2637, allocations: 8 kB / 474.4 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/0.2641, allocations: 218 kB / 474.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01338/0.2775, allocations: 5.908 MB / 480.5 MB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.2778, allocations: 170.6 kB / 480.7 MB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.2779, allocations: 80.83 kB / 480.8 MB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01106/0.289, allocations: 3.892 MB / 484.6 MB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.289, allocations: 38.56 kB / 484.7 MB, free: 1.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.635e-06/0.289, allocations: 0 / 484.7 MB, free: 1.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006422/0.2954, allocations: 1.414 MB / 486.1 MB, free: 184 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.2955, allocations: 55.41 kB / 486.2 MB, free: 116 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.2958, allocations: 262.5 kB / 486.4 MB, free: 15.85 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.2958, allocations: 29.7 kB / 486.4 MB, free: 15.81 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.296, allocations: 192.5 kB / 486.6 MB, free: 15.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.184e-05/0.2961, allocations: 99.16 kB / 486.7 MB, free: 15.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.2962, allocations: 69.66 kB / 486.8 MB, free: 15.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.2963, allocations: 338.8 kB / 487.1 MB, free: 15.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.2965, allocations: 91.95 kB / 487.2 MB, free: 15.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.2967, allocations: 190.8 kB / 487.4 MB, free: 14.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004415/0.2972, allocations: 303.5 kB / 487.7 MB, free: 14.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2972, allocations: 0 / 487.7 MB, free: 14.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007277/0.2979, allocations: 394.8 kB / 488.1 MB, free: 14.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2979, allocations: 4 kB / 488.1 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2979, allocations: 4 kB / 488.1 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004206/0.3021, allocations: 0.9365 MB / 489 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.3024, allocations: 67.91 kB / 489.1 MB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/0.3041, allocations: 1.974 MB / 491.1 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.3043, allocations: 8 kB / 491.1 MB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.3044, allocations: 19.98 kB / 491.1 MB, free: 10.88 MB / 398.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.0001792/0.3045, allocations: 153.7 kB / 491.2 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.292e-05/0.3046, allocations: 35.81 kB / 491.3 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007829/0.3054, allocations: 494.6 kB / 491.8 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007502/0.3061, allocations: 0.716 MB / 492.5 MB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.3061, allocations: 3.984 kB / 492.5 MB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.89e-05/0.3062, allocations: 100.9 kB / 492.6 MB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.3063, allocations: 8 kB / 492.6 MB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.3065, allocations: 8 kB / 492.6 MB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.3065, allocations: 20.2 kB / 492.6 MB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009039/0.3074, allocations: 0.5054 MB / 493.1 MB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008707/0.3083, allocations: 0.7137 MB / 493.8 MB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002305/0.3085, allocations: 156.2 kB / 494 MB, free: 7.824 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.3087, allocations: 186 kB / 494.2 MB, free: 7.645 MB / 398.1 MB Notification: Performance of Backend: time 3.41e-07/0.3087, allocations: 0 / 494.2 MB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.3102, allocations: 0.5776 MB / 494.7 MB, free: 7.051 MB / 398.1 MB Notification: Performance of SimCode: time 0.001703/0.3119, allocations: 1.225 MB / 496 MB, free: 5.789 MB / 398.1 MB Notification: Performance of Templates: time 0.01691/0.3288, allocations: 10.11 MB / 0.4942 GB, free: 11.71 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 5.37567887827754]