Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001832/0.001832, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.00227/0.00227, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 58.88 kB / 347.7 MB, free: 9.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2572, allocations: 49.15 MB / 396.9 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03697/0.2942, allocations: 33.92 MB / 430.8 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006338/0.3005, allocations: 4.167 MB / 434.9 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004788/0.301, allocations: 7.938 kB / 435 MB, free: 13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009658/0.3019, allocations: 278.3 kB / 435.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.3032, allocations: 497.3 kB / 435.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00522/0.3084, allocations: 1.62 MB / 437.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001786/0.3102, allocations: 1.296 MB / 438.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000291/0.3105, allocations: 122.6 kB / 438.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009609/0.3114, allocations: 494.4 kB / 439.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007737/0.3122, allocations: 406.4 kB / 439.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.3123, allocations: 44 kB / 439.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001952/0.3143, allocations: 0.7336 MB / 440.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.3145, allocations: 147.5 kB / 440.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004072/0.3149, allocations: 235.2 kB / 440.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001871/0.3168, allocations: 1.059 MB / 441.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3168, allocations: 0 / 441.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3168, allocations: 0 / 441.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.408e-05/0.3168, allocations: 0 / 441.8 MB, free: 6.094 MB / 350.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.001376/0.3182, allocations: 0.7113 MB / 442.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3182, allocations: 15.98 kB / 442.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006388/0.3189, allocations: 76.62 kB / 442.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000657/0.3195, allocations: 281.8 kB / 442.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.3195, allocations: 33.31 kB / 442.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.028e-05/0.3196, allocations: 40.33 kB / 443 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009056/0.3205, allocations: 0.6653 MB / 443.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.3205, allocations: 7.984 kB / 443.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.39e-05/0.3206, allocations: 20 kB / 443.7 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.3206, allocations: 12 kB / 443.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005297/0.3211, allocations: 303.7 kB / 444 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0136/0.3347, allocations: 4.55 MB / 448.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000542/0.3353, allocations: 254.5 kB / 448.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.3355, allocations: 145.3 kB / 448.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01054/0.3461, allocations: 2.699 MB / 451.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.3461, allocations: 42.55 kB / 451.7 MB, free: 12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.074e-06/0.3461, allocations: 0 / 451.7 MB, free: 12 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.01245/0.3586, allocations: 2.3 MB / 454 MB, free: 9.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.3586, allocations: 59.34 kB / 454 MB, free: 9.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.359, allocations: 281.7 kB / 454.3 MB, free: 9.305 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.11e-05/0.3591, allocations: 33.7 kB / 454.3 MB, free: 9.266 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.3593, allocations: 232.4 kB / 454.6 MB, free: 9.035 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.3594, allocations: 174.5 kB / 454.7 MB, free: 8.863 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.3596, allocations: 98.3 kB / 454.8 MB, free: 8.762 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.3598, allocations: 346.8 kB / 455.2 MB, free: 8.414 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.36, allocations: 153.2 kB / 455.3 MB, free: 8.266 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004112/0.3605, allocations: 272.7 kB / 455.6 MB, free: 7.949 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007476/0.3612, allocations: 472.2 kB / 456 MB, free: 7.438 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.3612, allocations: 4 kB / 456 MB, free: 7.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001212/0.3624, allocations: 0.5841 MB / 456.6 MB, free: 6.832 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.3624, allocations: 4 kB / 456.6 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.3624, allocations: 7.938 kB / 456.6 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008232/0.3707, allocations: 1.848 MB / 458.5 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004703/0.3712, allocations: 107.8 kB / 458.6 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/0.3735, allocations: 2.439 MB / 461 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.3738, allocations: 12 kB / 461 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.3738, allocations: 20 kB / 461.1 MB, free: 2.234 MB / 366.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.000269/0.3741, allocations: 189.8 kB / 461.3 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.3742, allocations: 39.75 kB / 461.3 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.3756, allocations: 0.8646 MB / 462.2 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.3756, allocations: 8 kB / 462.2 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.3756, allocations: 0 / 462.2 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00116/0.3767, allocations: 0.9785 MB / 463.1 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.3789, allocations: 1.363 MB / 464.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3789, allocations: 0 / 464.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/0.3792, allocations: 76.03 kB / 464.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003487/0.3827, allocations: 0.6295 MB / 465.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-05/0.3828, allocations: 15.98 kB / 465.2 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.3841, allocations: 1.292 MB / 466.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3841, allocations: 0 / 466.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.3858, allocations: 1.254 MB / 467.8 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.386, allocations: 43.66 kB / 467.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.696e-05/0.386, allocations: 8 kB / 467.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.3863, allocations: 12 kB / 467.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.3863, allocations: 27.98 kB / 467.9 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.3864, allocations: 19.98 kB / 467.9 MB, free: 11.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000225/0.3866, allocations: 197.2 kB / 468.1 MB, free: 11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3866, allocations: 0 / 468.1 MB, free: 11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007843/0.3874, allocations: 231.7 kB / 468.3 MB, free: 10.77 MB / 382.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.000671/0.3881, allocations: 278.9 kB / 468.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.3894, allocations: 0.6838 MB / 469.3 MB, free: 9.793 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3894, allocations: 0 / 469.3 MB, free: 9.793 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.3904, allocations: 432.1 kB / 469.7 MB, free: 9.371 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.3916, allocations: 202 kB / 469.9 MB, free: 9.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.3939, allocations: 1.242 MB / 471.1 MB, free: 7.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.3942, allocations: 233.1 kB / 471.3 MB, free: 7.648 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003186/0.3945, allocations: 71.34 kB / 471.4 MB, free: 7.578 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.322e-05/0.3946, allocations: 31.44 kB / 471.4 MB, free: 7.547 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3946, allocations: 0 / 471.4 MB, free: 7.547 MB / 382.1 MB Notification: Performance of Templates: time 0.024/0.4186, allocations: 12.78 MB / 484.2 MB, free: 10.74 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.321994552388787]