Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001036/0.001036, allocations: 83.89 kB / 21.19 MB, free: 3.383 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.001445/0.001445, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.9069/0.9069, allocations: 173.3 MB / 201.1 MB, free: 9.344 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_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.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.274e-05, allocations: 6.25 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1454/0.1454, allocations: 25.01 MB / 293 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003312/0.1487, allocations: 2.425 MB / 295.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002125/0.1489, allocations: 6.375 kB / 295.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004701/0.1494, allocations: 120.9 kB / 295.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006253/0.15, allocations: 398.4 kB / 296 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01431/0.1643, allocations: 6.766 MB / 302.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.1657, allocations: 1.149 MB / 303.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.1659, allocations: 96.42 kB / 304 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005052/0.171, allocations: 3.547 MB / 307.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004946/0.1715, allocations: 374.4 kB / 307.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.665e-05/0.1716, allocations: 59.84 kB / 307.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01386/0.1854, allocations: 8.916 MB / 316.9 MB, free: 6.406 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.1857, allocations: 246.9 kB / 317.1 MB, free: 6.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003195/0.186, allocations: 241.6 kB / 317.3 MB, free: 5.957 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009103/0.1951, allocations: 6.131 MB / 323.5 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1951, allocations: 3.938 kB / 323.5 MB, free: 176 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1951, allocations: 0 / 323.5 MB, free: 176 kB / 266.7 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.1951, allocations: 0 / 323.5 MB, free: 176 kB / 266.7 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.002607/0.1977, allocations: 1.382 MB / 324.8 MB, free: 14.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1978, allocations: 8.031 kB / 324.9 MB, free: 14.74 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003484/0.1981, allocations: 116.6 kB / 325 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.1985, allocations: 313.9 kB / 325.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.1986, allocations: 29.69 kB / 325.3 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.041e-05/0.1987, allocations: 48 kB / 325.4 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009287/0.1996, allocations: 0.655 MB / 326 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.1996, allocations: 0 / 326 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.429e-05/0.1996, allocations: 20 kB / 326 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.1997, allocations: 16 kB / 326 MB, free: 13.45 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007928/0.2004, allocations: 364.6 kB / 326.4 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007543/0.208, allocations: 3.482 MB / 329.9 MB, free: 9.609 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007746/0.2088, allocations: 314.5 kB / 330.2 MB, free: 9.293 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.2089, allocations: 132.1 kB / 330.3 MB, free: 9.164 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004652/0.2136, allocations: 2.559 MB / 332.9 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.2136, allocations: 45.89 kB / 332.9 MB, free: 6.562 MB / 282.7 MB Notification: Performance of pre-optimization done (n=50): time 1.453e-06/0.2136, allocations: 0 / 332.9 MB, free: 6.562 MB / 282.7 MB Notification: Performance of matching and sorting (n=55): time 0.002791/0.2164, allocations: 1.358 MB / 334.3 MB, free: 5.168 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.2164, allocations: 59.89 kB / 334.3 MB, free: 5.098 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.2166, allocations: 296.2 kB / 334.6 MB, free: 4.789 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.2167, allocations: 37.7 kB / 334.7 MB, free: 4.746 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.2168, allocations: 255.9 kB / 334.9 MB, free: 4.488 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.2169, allocations: 204.7 kB / 335.1 MB, free: 4.293 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.217, allocations: 112 kB / 335.2 MB, free: 4.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2172, allocations: 0.5157 MB / 335.7 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.2173, allocations: 106.4 kB / 335.8 MB, free: 3.547 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.2176, allocations: 243.5 kB / 336.1 MB, free: 3.262 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000543/0.2182, allocations: 370.4 kB / 336.4 MB, free: 2.855 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2182, allocations: 4 kB / 336.4 MB, free: 2.852 MB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001007/0.2192, allocations: 0.5426 MB / 337 MB, free: 2.289 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2192, allocations: 8 kB / 337 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.2192, allocations: 0 / 337 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002556/0.2195, allocations: 90.95 kB / 337.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.2197, allocations: 120.1 kB / 337.2 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/0.2215, allocations: 4.395 MB / 341.6 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.2217, allocations: 12 kB / 341.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.2217, allocations: 31.98 kB / 341.6 MB, free: 13.36 MB / 298.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 (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.0001339/0.2218, allocations: 192.4 kB / 341.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.222, allocations: 99.33 kB / 341.9 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000801/0.2228, allocations: 0.6317 MB / 342.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2229, allocations: 8.062 kB / 342.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.2229, allocations: 0 / 342.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005594/0.2234, allocations: 0.5686 MB / 343.1 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.2245, allocations: 0.9376 MB / 344.1 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2245, allocations: 4 kB / 344.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.2248, allocations: 95.89 kB / 344.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004325/0.2252, allocations: 135.6 kB / 344.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.2252, allocations: 19.98 kB / 344.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002847/0.2255, allocations: 0.9205 MB / 345.2 MB, free: 9.555 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2255, allocations: 3.938 kB / 345.2 MB, free: 9.551 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008505/0.2264, allocations: 0.6853 MB / 345.9 MB, free: 8.832 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.2264, allocations: 27.81 kB / 346 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.2264, allocations: 15.98 kB / 346 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.2266, allocations: 19.98 kB / 346 MB, free: 8.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.2267, allocations: 36.38 kB / 346 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.761e-05/0.2267, allocations: 39.91 kB / 346.1 MB, free: 8.695 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001261/0.2268, allocations: 213.1 kB / 346.3 MB, free: 8.484 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2268, allocations: 0 / 346.3 MB, free: 8.484 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002678/0.2295, allocations: 1.29 MB / 347.6 MB, free: 7.191 MB / 298.7 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.00355/0.2331, allocations: 1.795 MB / 349.4 MB, free: 5.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009075/0.234, allocations: 0.6902 MB / 350 MB, free: 4.789 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.234, allocations: 0 / 350 MB, free: 4.789 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.2342, allocations: 199.1 kB / 350.2 MB, free: 4.586 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006693/0.2349, allocations: 238.7 kB / 350.5 MB, free: 4.363 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.2365, allocations: 0.9162 MB / 351.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.796e-05/0.2366, allocations: 126.9 kB / 351.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002941/0.2369, allocations: 127.2 kB / 351.6 MB, free: 3.141 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.237, allocations: 56.47 kB / 351.7 MB, free: 3.086 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.237, allocations: 0 / 351.7 MB, free: 3.086 MB / 298.7 MB Notification: Performance of Templates: time 0.04099/0.278, allocations: 43.92 MB / 395.6 MB, free: 7.359 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.291750193107873]