Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001823/0.001823, allocations: 84.55 kB / 20.68 MB, free: 1.027 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.001459/0.001459, allocations: 163.2 kB / 23.95 MB, free: 4.156 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.43/1.43, allocations: 177.1 MB / 204.3 MB, free: 9.188 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.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.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 325.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.271e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.0571/0.05712, allocations: 45.43 MB / 370.5 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006582/0.0637, allocations: 4.701 MB / 375.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002047/0.06391, allocations: 11.88 kB / 375.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007319/0.06464, allocations: 238.5 kB / 375.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006779/0.06532, allocations: 385.5 kB / 375.8 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01803/0.08335, allocations: 7.209 MB / 383 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00144/0.08479, allocations: 1.103 MB / 384.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.08501, allocations: 98.61 kB / 384.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007649/0.09266, allocations: 3.767 MB / 388 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006312/0.09329, allocations: 378.9 kB / 388.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.0934, allocations: 60 kB / 388.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01815/0.1116, allocations: 9.351 MB / 397.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003663/0.1119, allocations: 251.3 kB / 398 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004255/0.1123, allocations: 231.6 kB / 398.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01503/0.1274, allocations: 6.704 MB / 405 MB, free: 5.062 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1274, allocations: 0 / 405 MB, free: 5.062 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1274, allocations: 4 kB / 405 MB, free: 5.059 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.1274, allocations: 0 / 405 MB, free: 5.059 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.003434/0.1308, allocations: 1.315 MB / 406.3 MB, free: 3.707 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1309, allocations: 8.031 kB / 406.3 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000361/0.1312, allocations: 67.66 kB / 406.3 MB, free: 3.633 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005492/0.1318, allocations: 309 kB / 406.7 MB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.1318, allocations: 33 kB / 406.7 MB, free: 3.273 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.574e-05/0.1319, allocations: 44 kB / 406.7 MB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.1335, allocations: 0.8855 MB / 407.6 MB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.1335, allocations: 0 / 407.6 MB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.02e-05/0.1335, allocations: 20 kB / 407.6 MB, free: 2.246 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.1336, allocations: 12 kB / 407.6 MB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.135, allocations: 0.7456 MB / 408.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01288/0.1479, allocations: 3.565 MB / 412 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.1493, allocations: 0.5086 MB / 412.5 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004151/0.1497, allocations: 242.2 kB / 412.7 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01129/0.161, allocations: 2.557 MB / 415.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/0.161, allocations: 39.06 kB / 415.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.484e-06/0.161, allocations: 0 / 415.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.006373/0.1674, allocations: 1.892 MB / 417.2 MB, free: 8.594 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.1674, allocations: 59.91 kB / 417.2 MB, free: 8.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.1678, allocations: 269.6 kB / 417.5 MB, free: 8.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.999e-05/0.1678, allocations: 33.7 kB / 417.5 MB, free: 8.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.168, allocations: 217.2 kB / 417.8 MB, free: 8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.1682, allocations: 198.2 kB / 417.9 MB, free: 7.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.1684, allocations: 114.3 kB / 418.1 MB, free: 7.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1685, allocations: 342.8 kB / 418.4 MB, free: 7.344 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004365/0.169, allocations: 237.2 kB / 418.6 MB, free: 7.109 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007303/0.1697, allocations: 344.4 kB / 419 MB, free: 6.742 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.171, allocations: 0.5968 MB / 419.6 MB, free: 6.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.171, allocations: 0 / 419.6 MB, free: 6.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002002/0.173, allocations: 0.7534 MB / 420.3 MB, free: 5.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.173, allocations: 4 kB / 420.3 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.173, allocations: 4 kB / 420.3 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005455/0.1736, allocations: 106.5 kB / 420.4 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005444/0.1741, allocations: 128.1 kB / 420.5 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/0.177, allocations: 3.22 MB / 423.8 MB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.1773, allocations: 12.41 kB / 423.8 MB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.792e-05/0.1774, allocations: 43.92 kB / 423.8 MB, free: 1.59 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.0003215/0.1777, allocations: 189.6 kB / 424 MB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000334/0.178, allocations: 39.81 kB / 424 MB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.1798, allocations: 0.8166 MB / 424.9 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1798, allocations: 4 kB / 424.9 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.1798, allocations: 0 / 424.9 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001274/0.1811, allocations: 0.765 MB / 425.6 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.1833, allocations: 1.131 MB / 426.8 MB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1833, allocations: 0 / 426.8 MB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000479/0.1838, allocations: 99.88 kB / 426.9 MB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000982/0.1847, allocations: 156.7 kB / 427 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-05/0.1848, allocations: 16 kB / 427 MB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000529/0.1853, allocations: 0.6407 MB / 427.7 MB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.1853, allocations: 7.875 kB / 427.7 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.1872, allocations: 0.8995 MB / 428.6 MB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.568e-05/0.1873, allocations: 31.81 kB / 428.6 MB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.841e-05/0.1873, allocations: 16.03 kB / 428.6 MB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004005/0.1877, allocations: 20.08 kB / 428.6 MB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.283e-05/0.1878, allocations: 40.38 kB / 428.7 MB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-05/0.1879, allocations: 27.98 kB / 428.7 MB, free: 12.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00026/0.1882, allocations: 217.2 kB / 428.9 MB, free: 12.28 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1882, allocations: 0 / 428.9 MB, free: 12.28 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003609/0.1918, allocations: 1.345 MB / 430.3 MB, free: 10.93 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.006182/0.1979, allocations: 1.87 MB / 432.1 MB, free: 9.047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.1996, allocations: 0.7737 MB / 432.9 MB, free: 8.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1996, allocations: 0.5625 kB / 432.9 MB, free: 8.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006155/0.2002, allocations: 283.5 kB / 433.2 MB, free: 7.969 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.2015, allocations: 220.7 kB / 433.4 MB, free: 7.754 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.2035, allocations: 1.008 MB / 434.4 MB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.2037, allocations: 233.4 kB / 434.6 MB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004606/0.2042, allocations: 139.2 kB / 434.8 MB, free: 6.324 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.2043, allocations: 56.48 kB / 434.8 MB, free: 6.266 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2043, allocations: 4 kB / 434.8 MB, free: 6.262 MB / 398.1 MB Notification: Performance of Templates: time 0.2085/0.4129, allocations: 44.34 MB / 479.2 MB, free: 134.1 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.18877201154828]