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.001903/0.001903, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002349/0.002349, allocations: 212.5 kB / 23.73 MB, free: 4.41 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.001599/0.001599, allocations: 43.92 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2398, allocations: 53.37 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03998/0.2798, allocations: 34 MB / 465.6 MB, free: 4.578 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00616/0.2859, allocations: 4.179 MB / 469.8 MB, free: 400 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004579/0.2864, allocations: 11.88 kB / 469.8 MB, free: 388 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.2874, allocations: 270.3 kB / 470 MB, free: 116 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.2887, allocations: 497.3 kB / 470.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004862/0.2936, allocations: 1.624 MB / 472.1 MB, free: 14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001779/0.2953, allocations: 1.288 MB / 473.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.2956, allocations: 118.9 kB / 473.6 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009215/0.2965, allocations: 494.4 kB / 474 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007503/0.2973, allocations: 406.3 kB / 474.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.2974, allocations: 48 kB / 474.5 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.2991, allocations: 0.7375 MB / 475.2 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.2993, allocations: 131.6 kB / 475.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003942/0.2997, allocations: 251.1 kB / 475.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.3014, allocations: 1.048 MB / 476.6 MB, free: 9.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3014, allocations: 0 / 476.6 MB, free: 9.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3014, allocations: 0 / 476.6 MB, free: 9.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.3014, allocations: 0 / 476.6 MB, free: 9.492 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.001332/0.3027, allocations: 0.7152 MB / 477.4 MB, free: 8.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3028, allocations: 12.03 kB / 477.4 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006236/0.3034, allocations: 76.62 kB / 477.4 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006132/0.304, allocations: 285.7 kB / 477.7 MB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.304, allocations: 33.38 kB / 477.8 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.526e-05/0.3041, allocations: 40.31 kB / 477.8 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008776/0.305, allocations: 0.6653 MB / 478.5 MB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.305, allocations: 0 / 478.5 MB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.891e-05/0.305, allocations: 20 kB / 478.5 MB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.3051, allocations: 8 kB / 478.5 MB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005081/0.3056, allocations: 307.7 kB / 478.8 MB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01294/0.3185, allocations: 4.569 MB / 483.4 MB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.319, allocations: 260.7 kB / 483.6 MB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.3192, allocations: 135 kB / 483.7 MB, free: 2.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01054/0.3298, allocations: 2.692 MB / 486.4 MB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.033e-05/0.3298, allocations: 38.55 kB / 486.5 MB, free: 15.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.464e-06/0.3298, allocations: 0 / 486.5 MB, free: 15.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01215/0.342, allocations: 2.308 MB / 488.8 MB, free: 13.06 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.342, allocations: 59.34 kB / 488.8 MB, free: 12.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.3424, allocations: 277.7 kB / 489.1 MB, free: 12.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/0.3424, allocations: 41.7 kB / 489.1 MB, free: 12.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.3426, allocations: 224.4 kB / 489.4 MB, free: 12.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.3428, allocations: 174.5 kB / 489.5 MB, free: 12.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.3429, allocations: 98.28 kB / 489.6 MB, free: 12.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3431, allocations: 346.8 kB / 490 MB, free: 11.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.3433, allocations: 149.2 kB / 490.1 MB, free: 11.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.3437, allocations: 280.7 kB / 490.4 MB, free: 11.35 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007144/0.3445, allocations: 468.2 kB / 490.8 MB, free: 10.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.3445, allocations: 4 kB / 490.9 MB, free: 10.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001152/0.3456, allocations: 0.584 MB / 491.4 MB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3456, allocations: 8 kB / 491.4 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.3456, allocations: 8.406 kB / 491.5 MB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008048/0.3537, allocations: 1.855 MB / 493.3 MB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.3541, allocations: 107.8 kB / 493.4 MB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/0.3565, allocations: 2.431 MB / 495.8 MB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.3567, allocations: 12 kB / 495.9 MB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.3568, allocations: 24.16 kB / 495.9 MB, free: 5.648 MB / 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.0002587/0.357, allocations: 177.7 kB / 496.1 MB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.3571, allocations: 43.7 kB / 496.1 MB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.3585, allocations: 0.8724 MB / 497 MB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.3585, allocations: 8 kB / 497 MB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.3585, allocations: 0 / 497 MB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001147/0.3596, allocations: 0.9746 MB / 497.9 MB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/0.3617, allocations: 1.359 MB / 499.3 MB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.3617, allocations: 4.031 kB / 499.3 MB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/0.3621, allocations: 83.88 kB / 499.4 MB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003422/0.3655, allocations: 0.614 MB / 0.4883 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.904e-05/0.3655, allocations: 15.98 kB / 0.4883 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.3667, allocations: 1.296 MB / 0.4896 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.3667, allocations: 4 kB / 0.4896 GB, free: 0 / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.3684, allocations: 1.254 MB / 0.4908 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.3686, allocations: 35.7 kB / 0.4908 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.3686, allocations: 12 kB / 0.4908 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.3689, allocations: 4 kB / 0.4908 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.3689, allocations: 32.11 kB / 0.4909 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/0.369, allocations: 23.98 kB / 0.4909 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000225/0.3692, allocations: 197.1 kB / 0.4911 GB, free: 14.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3692, allocations: 0 / 0.4911 GB, free: 14.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008411/0.37, allocations: 235.7 kB / 0.4913 GB, free: 14.19 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.0007039/0.3707, allocations: 281 kB / 0.4916 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.3721, allocations: 0.683 MB / 0.4922 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.3721, allocations: 0 / 0.4922 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009635/0.373, allocations: 432.6 kB / 0.4927 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.3742, allocations: 196.8 kB / 0.4928 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.3763, allocations: 1.252 MB / 0.4941 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.3766, allocations: 225.3 kB / 0.4943 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002917/0.3769, allocations: 71.34 kB / 0.4944 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.368e-05/0.377, allocations: 31.44 kB / 0.4944 GB, free: 10.98 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.377, allocations: 3.938 kB / 0.4944 GB, free: 10.98 MB / 414.1 MB Notification: Performance of Templates: time 0.02266/0.3996, allocations: 12.79 MB / 0.5069 GB, free: 14.36 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.098297970369458]