Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.0009913/0.0009913, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.004238/0.004238, allocations: 150.2 kB / 24.68 MB, free: 9.422 MB / 18.57 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 0.8492/0.8492, allocations: 173.4 MB / 201.2 MB, free: 9.43 MB / 186.7 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.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 319.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.09e-05, allocations: 2.281 kB / 319.7 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.04545/0.04548, allocations: 58.69 MB / 378.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005107/0.05059, allocations: 4.974 MB / 383.4 MB, free: 5.93 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003765/0.05097, allocations: 11.94 kB / 383.4 MB, free: 5.918 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008948/0.05186, allocations: 337.8 kB / 383.7 MB, free: 5.586 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008698/0.05273, allocations: 0.5316 MB / 384.2 MB, free: 5.051 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01511/0.06784, allocations: 7.519 MB / 391.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001931/0.06978, allocations: 1.566 MB / 393.3 MB, free: 11.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002949/0.07007, allocations: 145.3 kB / 393.5 MB, free: 11.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.0713, allocations: 0.8456 MB / 394.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006434/0.07195, allocations: 0.5337 MB / 394.8 MB, free: 10.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.07206, allocations: 80 kB / 394.9 MB, free: 10.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01344/0.0855, allocations: 9.554 MB / 404.5 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004087/0.0859, allocations: 343.1 kB / 404.8 MB, free: 456 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004587/0.08636, allocations: 343.4 kB / 405.1 MB, free: 112 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01432/0.1007, allocations: 7.129 MB / 412.3 MB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.1007, allocations: 0 / 412.3 MB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1007, allocations: 0 / 412.3 MB, free: 8.965 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.1007, allocations: 4 kB / 412.3 MB, free: 8.961 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004088/0.1048, allocations: 1.518 MB / 413.8 MB, free: 7.406 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.451e-05/0.1049, allocations: 12.92 kB / 413.8 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004281/0.1053, allocations: 87.56 kB / 413.9 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006363/0.1059, allocations: 387.6 kB / 414.3 MB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.513e-05/0.106, allocations: 45.31 kB / 414.3 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.602e-05/0.106, allocations: 60 kB / 414.4 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.1074, allocations: 1.216 MB / 415.6 MB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.1075, allocations: 7.891 kB / 415.6 MB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.347e-05/0.1075, allocations: 32 kB / 415.6 MB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.1075, allocations: 16 kB / 415.6 MB, free: 5.426 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.1087, allocations: 1.02 MB / 416.7 MB, free: 4.402 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007572/0.1163, allocations: 4.047 MB / 420.7 MB, free: 324 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.1174, allocations: 0.721 MB / 421.4 MB, free: 15.58 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003803/0.1178, allocations: 383.3 kB / 421.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005009/0.1228, allocations: 2.616 MB / 424.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.382e-05/0.1229, allocations: 51.22 kB / 424.5 MB, free: 12.53 MB / 394.7 MB Notification: Performance of pre-optimization done (n=78): time 3.046e-06/0.1229, allocations: 0 / 424.5 MB, free: 12.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.006142/0.129, allocations: 3.155 MB / 427.6 MB, free: 9.348 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.1291, allocations: 64.34 kB / 427.7 MB, free: 9.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.1293, allocations: 301.8 kB / 428 MB, free: 8.969 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.953e-05/0.1294, allocations: 45.7 kB / 428 MB, free: 8.918 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.1295, allocations: 245 kB / 428.3 MB, free: 8.672 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.1297, allocations: 317.2 kB / 428.6 MB, free: 8.359 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.1298, allocations: 162.6 kB / 428.7 MB, free: 8.195 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1299, allocations: 358.8 kB / 429.1 MB, free: 7.836 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/0.1303, allocations: 377.7 kB / 429.5 MB, free: 7.465 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005776/0.1309, allocations: 496.2 kB / 429.9 MB, free: 6.949 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.132, allocations: 0.9059 MB / 430.8 MB, free: 6.012 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.132, allocations: 0 / 430.8 MB, free: 6.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001617/0.1336, allocations: 1.113 MB / 432 MB, free: 4.875 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.1336, allocations: 4 kB / 432 MB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.1337, allocations: 4 kB / 432 MB, free: 4.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004877/0.1341, allocations: 167.6 kB / 432.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007293/0.1349, allocations: 195.7 kB / 432.3 MB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.137, allocations: 3.853 MB / 436.2 MB, free: 408 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.1372, allocations: 16 kB / 436.2 MB, free: 392 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.24e-05/0.1373, allocations: 51.95 kB / 436.2 MB, free: 340 kB / 394.7 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0003227/0.1376, allocations: 225.6 kB / 436.5 MB, free: 104 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/0.1378, allocations: 63.66 kB / 436.5 MB, free: 40 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.1393, allocations: 1.272 MB / 437.8 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/0.1393, allocations: 11.98 kB / 437.8 MB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.1393, allocations: 0 / 437.8 MB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001209/0.1405, allocations: 1.316 MB / 439.1 MB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.143, allocations: 1.73 MB / 440.9 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.143, allocations: 3.938 kB / 440.9 MB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.1434, allocations: 163.8 kB / 441 MB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008634/0.1442, allocations: 305.3 kB / 441.3 MB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.347e-05/0.1443, allocations: 31.97 kB / 441.3 MB, free: 11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005914/0.1449, allocations: 1.285 MB / 442.6 MB, free: 9.664 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1449, allocations: 3.938 kB / 442.6 MB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.1466, allocations: 1.406 MB / 444 MB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.1467, allocations: 39.7 kB / 444.1 MB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.241e-05/0.1468, allocations: 24.06 kB / 444.1 MB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.1471, allocations: 36.16 kB / 444.1 MB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/0.1472, allocations: 60.83 kB / 444.2 MB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.548e-05/0.1472, allocations: 39.97 kB / 444.2 MB, free: 8.031 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002135/0.1474, allocations: 243 kB / 444.5 MB, free: 7.793 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1474, allocations: 0 / 444.5 MB, free: 7.793 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003998/0.1514, allocations: 1.415 MB / 445.9 MB, free: 6.375 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005775/0.1572, allocations: 1.916 MB / 447.8 MB, free: 4.457 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001955/0.1592, allocations: 1.113 MB / 448.9 MB, free: 3.312 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.1592, allocations: 3.938 kB / 448.9 MB, free: 3.309 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006726/0.1598, allocations: 475.9 kB / 449.4 MB, free: 2.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.161, allocations: 333.7 kB / 449.7 MB, free: 2.508 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.1632, allocations: 1.563 MB / 451.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.1635, allocations: 313.8 kB / 451.6 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.1637, allocations: 92.45 kB / 451.7 MB, free: 492 kB / 410.7 MB Notification: Performance of SimCode: time 1.953e-06/0.1637, allocations: 0 / 451.7 MB, free: 492 kB / 410.7 MB Notification: Performance of Templates: time 0.1792/0.3429, allocations: 40.92 MB / 492.6 MB, free: 91.38 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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: 12.95130819734186]