Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.001933/0.001933, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002408/0.002408, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 7.977 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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 47.92 kB / 378.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2397, allocations: 53.36 MB / 431.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04107/0.2807, allocations: 37.99 MB / 469.6 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006099/0.2868, allocations: 4.623 MB / 474.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000313/0.2871, allocations: 11.94 kB / 474.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008778/0.288, allocations: 298.1 kB / 474.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009253/0.2889, allocations: 489.3 kB / 475 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00438/0.2933, allocations: 1.656 MB / 476.7 MB, free: 9.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001557/0.2949, allocations: 1.292 MB / 478 MB, free: 8.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.2951, allocations: 126.9 kB / 478.1 MB, free: 8.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006493/0.2958, allocations: 490.4 kB / 478.6 MB, free: 7.812 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005908/0.2964, allocations: 422.4 kB / 479 MB, free: 7.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.048e-05/0.2964, allocations: 47.94 kB / 479 MB, free: 7.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.2979, allocations: 0.7688 MB / 479.8 MB, free: 6.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.2981, allocations: 135.5 kB / 479.9 MB, free: 6.449 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000289/0.2984, allocations: 275 kB / 480.2 MB, free: 6.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.2997, allocations: 1.052 MB / 481.3 MB, free: 5.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2997, allocations: 0 / 481.3 MB, free: 5.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.2998, allocations: 4 kB / 481.3 MB, free: 5.121 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.2998, allocations: 0 / 481.3 MB, free: 5.121 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0012/0.301, allocations: 0.7152 MB / 482 MB, free: 4.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.301, allocations: 8.031 kB / 482 MB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005712/0.3016, allocations: 88.5 kB / 482.1 MB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000549/0.3021, allocations: 281.8 kB / 482.3 MB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.3021, allocations: 33.36 kB / 482.4 MB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.007e-05/0.3022, allocations: 40.38 kB / 482.4 MB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007671/0.303, allocations: 471.7 kB / 482.9 MB, free: 3.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.303, allocations: 3.938 kB / 482.9 MB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.18e-05/0.303, allocations: 16 kB / 482.9 MB, free: 3.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.3031, allocations: 12 kB / 482.9 MB, free: 3.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005259/0.3036, allocations: 307.7 kB / 483.2 MB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01405/0.3176, allocations: 5.491 MB / 488.7 MB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004974/0.3181, allocations: 264.9 kB / 489 MB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.3184, allocations: 151.1 kB / 489.1 MB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01093/0.3293, allocations: 2.664 MB / 491.8 MB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/0.3293, allocations: 43.14 kB / 491.8 MB, free: 10.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.044e-06/0.3293, allocations: 0 / 491.8 MB, free: 10.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01209/0.3414, allocations: 2.319 MB / 494.1 MB, free: 7.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.3415, allocations: 55.41 kB / 494.2 MB, free: 7.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.3418, allocations: 308.5 kB / 494.5 MB, free: 7.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.3419, allocations: 33.7 kB / 494.5 MB, free: 7.391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.3421, allocations: 228.5 kB / 494.7 MB, free: 7.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.3422, allocations: 166.6 kB / 494.9 MB, free: 6.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.3423, allocations: 98.3 kB / 495 MB, free: 6.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3425, allocations: 350.8 kB / 495.3 MB, free: 6.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.3428, allocations: 153.2 kB / 495.5 MB, free: 6.395 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/0.3432, allocations: 280.6 kB / 495.8 MB, free: 6.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007326/0.3439, allocations: 468.3 kB / 496.2 MB, free: 5.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3439, allocations: 0 / 496.2 MB, free: 5.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001141/0.345, allocations: 0.592 MB / 496.8 MB, free: 4.957 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.3451, allocations: 15.88 kB / 496.8 MB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.3451, allocations: 4 kB / 496.8 MB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00843/0.3535, allocations: 1.845 MB / 498.7 MB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004406/0.354, allocations: 111.8 kB / 498.8 MB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.3563, allocations: 2.454 MB / 0.4895 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.3566, allocations: 19.94 kB / 0.4895 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.3566, allocations: 20 kB / 0.4895 GB, free: 344 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002532/0.3569, allocations: 173.7 kB / 0.4897 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.262e-05/0.357, allocations: 43.83 kB / 0.4897 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.3583, allocations: 0.8804 MB / 0.4906 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.3584, allocations: 4 kB / 0.4906 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.3584, allocations: 0 / 0.4906 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001212/0.3596, allocations: 0.9747 MB / 0.4916 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/0.3617, allocations: 1.49 MB / 0.493 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3617, allocations: 0 / 0.493 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.362, allocations: 71.91 kB / 0.4931 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003576/0.3656, allocations: 0.6257 MB / 0.4937 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.3657, allocations: 15.94 kB / 0.4937 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.3668, allocations: 1.292 MB / 0.495 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3668, allocations: 12 kB / 0.495 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.3685, allocations: 1.25 MB / 0.4962 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.634e-05/0.3686, allocations: 39.66 kB / 0.4962 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.994e-05/0.3687, allocations: 12 kB / 0.4962 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.3689, allocations: 11.94 kB / 0.4963 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.369, allocations: 35.88 kB / 0.4963 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/0.369, allocations: 19.98 kB / 0.4963 GB, free: 9.148 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002388/0.3692, allocations: 211.1 kB / 0.4965 GB, free: 8.941 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3692, allocations: 0 / 0.4965 GB, free: 8.941 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000787/0.37, allocations: 227.8 kB / 0.4967 GB, free: 8.719 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006039/0.3706, allocations: 285.6 kB / 0.497 GB, free: 8.434 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.3719, allocations: 0.6835 MB / 0.4977 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.3719, allocations: 4 kB / 0.4977 GB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000978/0.3729, allocations: 424.3 kB / 0.4981 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.3741, allocations: 240.8 kB / 0.4983 GB, free: 7.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.3761, allocations: 1.249 MB / 0.4995 GB, free: 5.809 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.3766, allocations: 0.8362 MB / 0.5003 GB, free: 4.941 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002623/0.3769, allocations: 76.33 kB / 0.5004 GB, free: 4.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.717e-05/0.377, allocations: 35.44 kB / 0.5005 GB, free: 4.832 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.377, allocations: 0 / 0.5005 GB, free: 4.832 MB / 414.1 MB Notification: Performance of Templates: time 0.02303/0.4, allocations: 13.3 MB / 0.5134 GB, free: 7.617 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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: 6.2974869820754975]