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.001336/0.001336, allocations: 82.66 kB / 21.43 MB, free: 296 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.001415/0.001415, allocations: 161.5 kB / 24.7 MB, free: 3.551 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.335/1.335, allocations: 158.6 MB / 186.5 MB, free: 6.418 MB / 174.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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.805e-05, allocations: 2.281 kB / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1992/0.1992, allocations: 33.74 MB / 332.7 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005305/0.2045, allocations: 4.167 MB / 336.9 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004089/0.2049, allocations: 13.56 kB / 336.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.206, allocations: 278.4 kB / 337.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.207, allocations: 0.5009 MB / 337.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005739/0.2128, allocations: 1.678 MB / 339.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001897/0.2147, allocations: 1.283 MB / 340.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.2149, allocations: 116.1 kB / 340.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008475/0.2158, allocations: 0.6481 MB / 341.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005073/0.2163, allocations: 365.5 kB / 341.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.94e-05/0.2164, allocations: 44.75 kB / 341.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.2181, allocations: 0.7355 MB / 342.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.2182, allocations: 142.5 kB / 342.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002995/0.2185, allocations: 210.5 kB / 342.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.2203, allocations: 1.175 MB / 344 MB, free: 11.94 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2203, allocations: 0 / 344 MB, free: 11.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2203, allocations: 0 / 344 MB, free: 11.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.2203, allocations: 0 / 344 MB, free: 11.94 MB / 302.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.001098/0.2214, allocations: 0.7087 MB / 344.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.2215, allocations: 12.98 kB / 344.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006064/0.2221, allocations: 80.44 kB / 344.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005849/0.2227, allocations: 291.4 kB / 345.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.2227, allocations: 28.22 kB / 345.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.2228, allocations: 38.91 kB / 345.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007666/0.2235, allocations: 0.6557 MB / 345.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.2235, allocations: 1.469 kB / 345.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.755e-05/0.2236, allocations: 21.84 kB / 345.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.2236, allocations: 14.94 kB / 345.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004786/0.2241, allocations: 309.7 kB / 346.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/0.2361, allocations: 4.558 MB / 350.7 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004714/0.2365, allocations: 262.6 kB / 351 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.2367, allocations: 142.1 kB / 351.1 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009548/0.2463, allocations: 2.672 MB / 353.8 MB, free: 6.414 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.2463, allocations: 38.22 kB / 353.8 MB, free: 6.371 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 2.364e-06/0.2463, allocations: 0 / 353.8 MB, free: 6.371 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.01179/0.2581, allocations: 2.311 MB / 356.2 MB, free: 5.211 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.2581, allocations: 53.97 kB / 356.2 MB, free: 5.148 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.2584, allocations: 283.5 kB / 356.5 MB, free: 4.949 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.2584, allocations: 33.7 kB / 356.5 MB, free: 4.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.058e-05/0.2585, allocations: 240.4 kB / 356.8 MB, free: 4.668 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.2586, allocations: 174.5 kB / 356.9 MB, free: 4.496 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.2587, allocations: 98.27 kB / 357 MB, free: 4.395 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.054e-05/0.2587, allocations: 342.8 kB / 357.4 MB, free: 4.051 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.259, allocations: 157.2 kB / 357.5 MB, free: 3.898 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.2592, allocations: 272.7 kB / 357.8 MB, free: 3.582 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/0.2597, allocations: 477.2 kB / 358.2 MB, free: 3.066 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2597, allocations: 0 / 358.2 MB, free: 3.066 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008791/0.2606, allocations: 0.5855 MB / 358.8 MB, free: 2.465 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2606, allocations: 11.98 kB / 358.8 MB, free: 2.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2606, allocations: 4.469 kB / 358.8 MB, free: 2.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007685/0.2683, allocations: 1.854 MB / 360.7 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.2687, allocations: 107.8 kB / 360.8 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.2709, allocations: 2.431 MB / 363.2 MB, free: 13.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.2713, allocations: 12 kB / 363.2 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/0.2713, allocations: 23.98 kB / 363.3 MB, free: 13.86 MB / 318.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.0002573/0.2716, allocations: 173.7 kB / 363.4 MB, free: 13.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.867e-05/0.2717, allocations: 43.77 kB / 363.5 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.2731, allocations: 0.8649 MB / 364.3 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.2731, allocations: 19.98 kB / 364.4 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.2731, allocations: 0 / 364.4 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00133/0.2744, allocations: 0.9712 MB / 365.3 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/0.2767, allocations: 1.366 MB / 366.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.2767, allocations: 0 / 366.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.277, allocations: 75.91 kB / 366.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00357/0.2806, allocations: 0.6257 MB / 367.4 MB, free: 9.578 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.2806, allocations: 12 kB / 367.4 MB, free: 9.566 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.2818, allocations: 1.296 MB / 368.7 MB, free: 8.219 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2818, allocations: 0 / 368.7 MB, free: 8.219 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.2837, allocations: 1.255 MB / 370 MB, free: 6.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.2838, allocations: 43.69 kB / 370 MB, free: 6.887 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.366e-05/0.2839, allocations: 12 kB / 370 MB, free: 6.875 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.2841, allocations: 8 kB / 370 MB, free: 6.867 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.2842, allocations: 27.94 kB / 370.1 MB, free: 6.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/0.2843, allocations: 22.14 kB / 370.1 MB, free: 6.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002332/0.2845, allocations: 193.2 kB / 370.3 MB, free: 6.633 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2845, allocations: 0 / 370.3 MB, free: 6.633 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009465/0.2854, allocations: 223.8 kB / 370.5 MB, free: 6.414 MB / 318.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.0007476/0.2862, allocations: 290.7 kB / 370.8 MB, free: 6.121 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.2876, allocations: 0.6805 MB / 371.4 MB, free: 5.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2876, allocations: 0 / 371.4 MB, free: 5.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.2886, allocations: 428.1 kB / 371.9 MB, free: 5.008 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.2898, allocations: 204.9 kB / 372.1 MB, free: 4.809 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.2918, allocations: 1.144 MB / 373.2 MB, free: 3.633 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.2921, allocations: 237 kB / 373.4 MB, free: 3.383 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002419/0.2923, allocations: 59.38 kB / 373.5 MB, free: 3.324 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.065e-05/0.2924, allocations: 40.48 kB / 373.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of SimCode: time 1.102e-06/0.2924, allocations: 0 / 373.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of Templates: time 0.0225/0.3149, allocations: 11.91 MB / 385.4 MB, free: 7.363 MB / 334.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.018413159996271]