Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 72.06 kB / 21.24 MB, free: 404 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002177/0.002177, allocations: 157.4 kB / 24.48 MB, free: 3.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 173.4 MB / 201.1 MB, free: 12.6 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 47.28 kB / 319.4 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08355/0.08518, allocations: 52.15 MB / 371.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03877/0.1239, allocations: 33.92 MB / 405.5 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005982/0.1299, allocations: 4.171 MB / 409.7 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002982/0.1302, allocations: 7.938 kB / 409.7 MB, free: 1.133 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009512/0.1312, allocations: 274.2 kB / 409.9 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.1322, allocations: 493.3 kB / 410.4 MB, free: 388 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0047/0.1369, allocations: 1.629 MB / 412.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001622/0.1386, allocations: 1.284 MB / 413.3 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002434/0.1388, allocations: 123 kB / 413.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007789/0.1396, allocations: 486.5 kB / 413.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006386/0.1402, allocations: 414.3 kB / 414.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.208e-05/0.1403, allocations: 48 kB / 414.4 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.1419, allocations: 0.7258 MB / 415.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.142, allocations: 147.5 kB / 415.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002922/0.1423, allocations: 239.2 kB / 415.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.1439, allocations: 1.063 MB / 416.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.1439, allocations: 4 kB / 416.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1439, allocations: 0 / 416.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1439, allocations: 0 / 416.6 MB, free: 10.22 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.001252/0.1451, allocations: 0.6997 MB / 417.3 MB, free: 9.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.1452, allocations: 8.031 kB / 417.3 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005888/0.1457, allocations: 88.61 kB / 417.3 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005512/0.1463, allocations: 289.6 kB / 417.6 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.1463, allocations: 29.38 kB / 417.7 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.859e-05/0.1464, allocations: 36.38 kB / 417.7 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008671/0.1473, allocations: 0.6653 MB / 418.4 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.1473, allocations: 0 / 418.4 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.605e-05/0.1474, allocations: 24 kB / 418.4 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.1474, allocations: 8 kB / 418.4 MB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005082/0.1479, allocations: 307.6 kB / 418.7 MB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01418/0.1621, allocations: 4.566 MB / 423.3 MB, free: 3.289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005772/0.1626, allocations: 266.1 kB / 423.5 MB, free: 3.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.1629, allocations: 136.4 kB / 423.6 MB, free: 2.887 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01156/0.1744, allocations: 2.692 MB / 426.3 MB, free: 196 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.1745, allocations: 46.42 kB / 426.4 MB, free: 140 kB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.943e-06/0.1745, allocations: 0 / 426.4 MB, free: 140 kB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01362/0.1881, allocations: 2.299 MB / 428.7 MB, free: 13.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.1881, allocations: 59.34 kB / 428.7 MB, free: 13.72 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.1885, allocations: 277.8 kB / 429 MB, free: 13.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.174e-05/0.1885, allocations: 37.7 kB / 429.1 MB, free: 13.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.1887, allocations: 232.4 kB / 429.3 MB, free: 13.17 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.1888, allocations: 162.6 kB / 429.4 MB, free: 13.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.189, allocations: 102.2 kB / 429.5 MB, free: 12.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1892, allocations: 346.8 kB / 429.9 MB, free: 12.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.1895, allocations: 153.2 kB / 430 MB, free: 12.4 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004286/0.1899, allocations: 280.7 kB / 430.3 MB, free: 12.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007352/0.1906, allocations: 465.3 kB / 430.8 MB, free: 11.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1906, allocations: 8 kB / 430.8 MB, free: 11.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001181/0.1918, allocations: 0.5815 MB / 431.3 MB, free: 10.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1918, allocations: 8.469 kB / 431.4 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.1918, allocations: 11.94 kB / 431.4 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008201/0.2, allocations: 1.855 MB / 433.2 MB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004642/0.2005, allocations: 111.8 kB / 433.3 MB, free: 9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/0.2027, allocations: 2.433 MB / 435.8 MB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.203, allocations: 20.28 kB / 435.8 MB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.2031, allocations: 23.98 kB / 435.8 MB, free: 6.371 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.0002478/0.2033, allocations: 173.7 kB / 436 MB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.2034, allocations: 43.7 kB / 436 MB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.2048, allocations: 0.8727 MB / 436.9 MB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.2048, allocations: 11.98 kB / 436.9 MB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.2048, allocations: 0 / 436.9 MB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001137/0.2059, allocations: 0.9712 MB / 437.9 MB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/0.208, allocations: 1.359 MB / 439.2 MB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.208, allocations: 0 / 439.2 MB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/0.2083, allocations: 79.89 kB / 439.3 MB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003489/0.2118, allocations: 0.6139 MB / 439.9 MB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.437e-05/0.2119, allocations: 19.98 kB / 439.9 MB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.213, allocations: 1.3 MB / 441.2 MB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.213, allocations: 3.984 kB / 441.2 MB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.2147, allocations: 1.247 MB / 442.5 MB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.146e-05/0.2148, allocations: 39.66 kB / 442.5 MB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-05/0.2148, allocations: 23.91 kB / 442.6 MB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.2151, allocations: 12.12 kB / 442.6 MB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.2151, allocations: 23.95 kB / 442.6 MB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/0.2152, allocations: 19.98 kB / 442.6 MB, free: 15.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002108/0.2154, allocations: 197.1 kB / 442.8 MB, free: 15.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2154, allocations: 0 / 442.8 MB, free: 15.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007687/0.2161, allocations: 235.7 kB / 443 MB, free: 14.91 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.0005996/0.2167, allocations: 266.6 kB / 443.3 MB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.218, allocations: 0.688 MB / 444 MB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.218, allocations: 4 kB / 444 MB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009516/0.219, allocations: 421 kB / 444.4 MB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.2201, allocations: 204.3 kB / 444.6 MB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.2221, allocations: 1.244 MB / 445.8 MB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.2223, allocations: 233.3 kB / 446.1 MB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002458/0.2226, allocations: 67.36 kB / 446.1 MB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.592e-05/0.2226, allocations: 36.5 kB / 446.2 MB, free: 11.71 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.2226, allocations: 0 / 446.2 MB, free: 11.71 MB / 414.1 MB Notification: Performance of Templates: time 0.02085/0.2435, allocations: 11.95 MB / 458.1 MB, free: 15.9 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.957067584968172]