Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001237/0.001237, allocations: 87.81 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001436/0.001436, allocations: 159.1 kB / 23.95 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0.7031 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.528e-05, allocations: 2.281 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05778/0.05781, allocations: 45.44 MB / 370.5 MB, free: 7.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006621/0.06443, allocations: 4.7 MB / 375.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.06462, allocations: 7.938 kB / 375.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007688/0.06538, allocations: 226.6 kB / 375.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007226/0.06611, allocations: 393.4 kB / 375.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01848/0.08459, allocations: 7.201 MB / 383 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001499/0.08609, allocations: 1.099 MB / 384.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.08633, allocations: 106.2 kB / 384.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007561/0.09389, allocations: 3.77 MB / 387.9 MB, free: 5.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006161/0.09451, allocations: 371 kB / 388.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.09462, allocations: 63.98 kB / 388.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01882/0.1134, allocations: 9.355 MB / 397.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003718/0.1138, allocations: 243.3 kB / 398 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004394/0.1143, allocations: 235.6 kB / 398.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01421/0.1285, allocations: 6.704 MB / 404.9 MB, free: 4.996 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1285, allocations: 0 / 404.9 MB, free: 4.996 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1285, allocations: 0 / 404.9 MB, free: 4.996 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.1285, allocations: 0 / 404.9 MB, free: 4.996 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003517/0.132, allocations: 1.319 MB / 406.2 MB, free: 3.641 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.132, allocations: 11.98 kB / 406.2 MB, free: 3.629 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000352/0.1324, allocations: 67.67 kB / 406.3 MB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005611/0.133, allocations: 305 kB / 406.6 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.133, allocations: 37 kB / 406.6 MB, free: 3.203 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-05/0.1331, allocations: 40 kB / 406.7 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.1346, allocations: 0.8894 MB / 407.6 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.1346, allocations: 0 / 407.6 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.265e-05/0.1347, allocations: 20 kB / 407.6 MB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.1347, allocations: 19.94 kB / 407.6 MB, free: 2.156 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.1362, allocations: 0.7378 MB / 408.3 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01312/0.1493, allocations: 3.561 MB / 411.9 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.1507, allocations: 0.5125 MB / 412.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000403/0.1511, allocations: 238.2 kB / 412.6 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01125/0.1624, allocations: 2.561 MB / 415.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.235e-05/0.1624, allocations: 43 kB / 415.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.495e-06/0.1624, allocations: 0 / 415.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.006209/0.1686, allocations: 1.888 MB / 417.1 MB, free: 8.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.1687, allocations: 59.91 kB / 417.2 MB, free: 8.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.169, allocations: 273.6 kB / 417.5 MB, free: 8.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.06e-05/0.1691, allocations: 37.7 kB / 417.5 MB, free: 8.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.1692, allocations: 209.2 kB / 417.7 MB, free: 7.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.1694, allocations: 198.3 kB / 417.9 MB, free: 7.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.1696, allocations: 110.3 kB / 418 MB, free: 7.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.1698, allocations: 346.8 kB / 418.3 MB, free: 7.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004345/0.1702, allocations: 245.2 kB / 418.6 MB, free: 7.027 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007434/0.171, allocations: 340.3 kB / 418.9 MB, free: 6.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.1723, allocations: 0.6046 MB / 419.5 MB, free: 6.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1723, allocations: 0 / 419.5 MB, free: 6.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002022/0.1743, allocations: 0.7495 MB / 420.3 MB, free: 5.262 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1743, allocations: 4 kB / 420.3 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.1744, allocations: 4 kB / 420.3 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005667/0.1749, allocations: 110.8 kB / 420.4 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005378/0.1755, allocations: 123.8 kB / 420.5 MB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002866/0.1783, allocations: 3.221 MB / 423.7 MB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.1786, allocations: 12 kB / 423.7 MB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.595e-05/0.1787, allocations: 39.92 kB / 423.8 MB, free: 1.516 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems 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,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003278/0.179, allocations: 189.6 kB / 424 MB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003109/0.1794, allocations: 39.8 kB / 424 MB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/0.1811, allocations: 0.8204 MB / 424.8 MB, free: 436 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1811, allocations: 4.094 kB / 424.8 MB, free: 432 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.1811, allocations: 4 kB / 424.8 MB, free: 428 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001267/0.1824, allocations: 0.7612 MB / 425.6 MB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.1845, allocations: 1.127 MB / 426.7 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1845, allocations: 0 / 426.7 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004711/0.185, allocations: 95.89 kB / 426.8 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009962/0.186, allocations: 156.7 kB / 427 MB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.186, allocations: 19.98 kB / 427 MB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004787/0.1865, allocations: 0.6406 MB / 427.6 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.1865, allocations: 7.969 kB / 427.6 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.1883, allocations: 0.8955 MB / 428.5 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-05/0.1884, allocations: 39.94 kB / 428.6 MB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.062e-05/0.1885, allocations: 12 kB / 428.6 MB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/0.1889, allocations: 19.98 kB / 428.6 MB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.492e-05/0.189, allocations: 40.38 kB / 428.6 MB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.871e-05/0.189, allocations: 27.97 kB / 428.7 MB, free: 12.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002516/0.1893, allocations: 217.2 kB / 428.9 MB, free: 12.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1893, allocations: 0 / 428.9 MB, free: 12.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003745/0.193, allocations: 1.341 MB / 430.2 MB, free: 10.86 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005641/0.1987, allocations: 1.87 MB / 432.1 MB, free: 8.977 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.2004, allocations: 0.7858 MB / 432.9 MB, free: 8.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.2004, allocations: 0 / 432.9 MB, free: 8.164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000594/0.201, allocations: 275.6 kB / 433.1 MB, free: 7.891 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.2022, allocations: 221.4 kB / 433.3 MB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.2042, allocations: 1.007 MB / 434.4 MB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.2045, allocations: 237.4 kB / 434.6 MB, free: 6.379 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004598/0.2049, allocations: 131.2 kB / 434.7 MB, free: 6.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.2051, allocations: 60.48 kB / 434.8 MB, free: 6.188 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2051, allocations: 0 / 434.8 MB, free: 6.188 MB / 398.1 MB Notification: Performance of Templates: time 0.2129/0.418, allocations: 44.33 MB / 479.1 MB, free: 134.2 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 13.333256985992193]