Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.001781/0.001781, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.002135/0.002135, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.562/1.562, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.1.0_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_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 51.17 kB / 325.6 MB, free: 476 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09011/0.09171, allocations: 53.34 MB / 378.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02822/0.1199, allocations: 24.55 MB / 403.5 MB, free: 7.148 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004894/0.1248, allocations: 3.774 MB / 407.2 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.125, allocations: 7.938 kB / 407.2 MB, free: 3.348 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006265/0.1256, allocations: 186.8 kB / 407.4 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006408/0.1263, allocations: 350.1 kB / 407.8 MB, free: 2.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003739/0.13, allocations: 1.461 MB / 409.2 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.1311, allocations: 0.8951 MB / 410.1 MB, free: 468 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.1312, allocations: 72.89 kB / 410.2 MB, free: 400 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006422/0.1376, allocations: 4.158 MB / 414.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004476/0.1381, allocations: 282.8 kB / 414.6 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.49e-05/0.1382, allocations: 32 kB / 414.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.1395, allocations: 0.7024 MB / 415.4 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.1397, allocations: 91.73 kB / 415.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.14, allocations: 167.4 kB / 415.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.1412, allocations: 0.853 MB / 416.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1412, allocations: 0 / 416.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1412, allocations: 0 / 416.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1412, allocations: 0 / 416.5 MB, free: 10.11 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.001018/0.1423, allocations: 0.5906 MB / 417.1 MB, free: 9.484 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1423, allocations: 12.03 kB / 417.1 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005325/0.1428, allocations: 56.72 kB / 417.1 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.1433, allocations: 230 kB / 417.4 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.1433, allocations: 17.03 kB / 417.4 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.955e-05/0.1433, allocations: 32.38 kB / 417.4 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/0.144, allocations: 497.9 kB / 417.9 MB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.144, allocations: 4 kB / 417.9 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.786e-05/0.144, allocations: 16 kB / 417.9 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.1441, allocations: 4 kB / 417.9 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003918/0.1444, allocations: 209.8 kB / 418.1 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01303/0.1575, allocations: 4.098 MB / 422.2 MB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.1578, allocations: 169.8 kB / 422.4 MB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.1579, allocations: 76.84 kB / 422.5 MB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01044/0.1684, allocations: 2.692 MB / 425.2 MB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.1684, allocations: 38.56 kB / 425.2 MB, free: 1.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.873e-06/0.1684, allocations: 0 / 425.2 MB, free: 1.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006758/0.1752, allocations: 1.257 MB / 426.4 MB, free: 15.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.1752, allocations: 59.41 kB / 426.5 MB, free: 15.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.1755, allocations: 236 kB / 426.7 MB, free: 15.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.1755, allocations: 33.7 kB / 426.8 MB, free: 15.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.1757, allocations: 196.3 kB / 427 MB, free: 15.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.121e-05/0.1757, allocations: 99.17 kB / 427.1 MB, free: 15.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.942e-05/0.1758, allocations: 61.69 kB / 427.1 MB, free: 15.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.176, allocations: 338.8 kB / 427.4 MB, free: 14.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.1762, allocations: 87.97 kB / 427.5 MB, free: 14.74 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.1765, allocations: 190.9 kB / 427.7 MB, free: 14.51 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004377/0.1769, allocations: 299 kB / 428 MB, free: 14.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1769, allocations: 0 / 428 MB, free: 14.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008101/0.1777, allocations: 402.8 kB / 428.4 MB, free: 13.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1777, allocations: 6.969 kB / 428.4 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1777, allocations: 4 kB / 428.4 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004453/0.1822, allocations: 0.9363 MB / 429.4 MB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.1825, allocations: 63.91 kB / 429.4 MB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.1843, allocations: 1.855 MB / 431.3 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.1844, allocations: 8 kB / 431.3 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.1845, allocations: 16 kB / 431.3 MB, free: 10.77 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.0001843/0.1847, allocations: 149.8 kB / 431.4 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.911e-05/0.1847, allocations: 35.98 kB / 431.5 MB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008825/0.1856, allocations: 499.9 kB / 432 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.1856, allocations: 11.98 kB / 432 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.1856, allocations: 0 / 432 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007927/0.1864, allocations: 0.7199 MB / 432.7 MB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.1879, allocations: 0.852 MB / 433.5 MB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1879, allocations: 0 / 433.5 MB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.1881, allocations: 43.98 kB / 433.6 MB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001838/0.1899, allocations: 320.5 kB / 433.9 MB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.19, allocations: 4 kB / 433.9 MB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005547/0.1905, allocations: 0.6577 MB / 434.6 MB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1905, allocations: 0 / 434.6 MB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.1915, allocations: 0.737 MB / 435.3 MB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.828e-05/0.1916, allocations: 23.94 kB / 435.3 MB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.1916, allocations: 11.94 kB / 435.3 MB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.1918, allocations: 8 kB / 435.3 MB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.1918, allocations: 11.97 kB / 435.4 MB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.1918, allocations: 15.98 kB / 435.4 MB, free: 6.473 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.192, allocations: 165.6 kB / 435.5 MB, free: 6.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.192, allocations: 0 / 435.5 MB, free: 6.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006547/0.1927, allocations: 187.7 kB / 435.7 MB, free: 6.129 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005554/0.1932, allocations: 270.8 kB / 436 MB, free: 5.855 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008018/0.194, allocations: 446.4 kB / 436.4 MB, free: 5.406 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.194, allocations: 0 / 436.4 MB, free: 5.406 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005288/0.1946, allocations: 236.5 kB / 436.6 MB, free: 5.176 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008308/0.1954, allocations: 132.2 kB / 436.8 MB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.1966, allocations: 0.809 MB / 437.6 MB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.1968, allocations: 168.3 kB / 437.7 MB, free: 4.027 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001688/0.197, allocations: 46.89 kB / 437.8 MB, free: 3.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.438e-05/0.1971, allocations: 32.47 kB / 437.8 MB, free: 3.949 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1971, allocations: 0 / 437.8 MB, free: 3.949 MB / 398.1 MB Notification: Performance of Templates: time 0.01631/0.2134, allocations: 9.265 MB / 447.1 MB, free: 10.79 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.508251926978119]