Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009427/0.0009427, allocations: 80.39 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001296/0.001296, allocations: 164.4 kB / 25.6 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9297/0.9297, allocations: 158.6 MB / 187.5 MB, free: 2.812 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.091e-05, allocations: 2.312 kB / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.02597/0.02599, allocations: 24.85 MB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.02807, allocations: 2.389 MB / 278.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.02821, allocations: 7.938 kB / 278.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003917/0.0286, allocations: 127.2 kB / 278.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004025/0.029, allocations: 393.5 kB / 279.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009885/0.03889, allocations: 6.447 MB / 285.7 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009114/0.0398, allocations: 1.142 MB / 286.8 MB, free: 3.766 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.03996, allocations: 89.88 kB / 286.9 MB, free: 3.672 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003994/0.04395, allocations: 3.569 MB / 290.5 MB, free: 100 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006297/0.04458, allocations: 382.9 kB / 290.8 MB, free: 15.72 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.683e-05/0.04468, allocations: 60 kB / 290.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01207/0.05675, allocations: 8.799 MB / 299.7 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002822/0.05703, allocations: 247.4 kB / 299.9 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003086/0.05734, allocations: 239.6 kB / 300.2 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.0681, allocations: 6.107 MB / 306.3 MB, free: 260 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.06811, allocations: 0 / 306.3 MB, free: 260 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.06811, allocations: 0 / 306.3 MB, free: 260 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.06812, allocations: 0 / 306.3 MB, free: 260 kB / 282.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.002918/0.07104, allocations: 1.369 MB / 307.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.07108, allocations: 15.98 kB / 307.7 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002858/0.07137, allocations: 120.1 kB / 307.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.07173, allocations: 299.1 kB / 308.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.07175, allocations: 33 kB / 308.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.924e-05/0.07181, allocations: 51.98 kB / 308.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007029/0.07252, allocations: 0.6082 MB / 308.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.07253, allocations: 4 kB / 308.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.07257, allocations: 24 kB / 308.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.07258, allocations: 8 kB / 308.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004795/0.07306, allocations: 302.6 kB / 309.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006072/0.07913, allocations: 3.258 MB / 312.4 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005447/0.07967, allocations: 301.4 kB / 312.7 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.07979, allocations: 109.1 kB / 312.8 MB, free: 9.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004749/0.08454, allocations: 2.39 MB / 315.2 MB, free: 7.199 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.08458, allocations: 41.89 kB / 315.2 MB, free: 7.145 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 2.234e-06/0.08458, allocations: 0 / 315.2 MB, free: 7.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.002712/0.08729, allocations: 1.241 MB / 316.4 MB, free: 5.859 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.08732, allocations: 59.91 kB / 316.5 MB, free: 5.789 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.0875, allocations: 292.1 kB / 316.8 MB, free: 5.484 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.08754, allocations: 37.7 kB / 316.8 MB, free: 5.441 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.08765, allocations: 267.9 kB / 317.1 MB, free: 5.172 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.08775, allocations: 198.2 kB / 317.3 MB, free: 4.977 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.08787, allocations: 115.9 kB / 317.4 MB, free: 4.855 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.08801, allocations: 0.5195 MB / 317.9 MB, free: 4.324 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.08813, allocations: 77.25 kB / 318 MB, free: 4.246 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.08838, allocations: 219.5 kB / 318.2 MB, free: 3.988 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/0.08883, allocations: 334.3 kB / 318.5 MB, free: 3.617 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.08883, allocations: 0 / 318.5 MB, free: 3.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009183/0.08975, allocations: 0.519 MB / 319 MB, free: 3.078 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.08977, allocations: 4.281 kB / 319 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.08977, allocations: 8 kB / 319.1 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002523/0.09003, allocations: 90.98 kB / 319.1 MB, free: 2.965 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.09029, allocations: 123.8 kB / 319.3 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.092, allocations: 3.438 MB / 322.7 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.09216, allocations: 12 kB / 322.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/0.0922, allocations: 31.98 kB / 322.7 MB, free: 15.13 MB / 314.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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * 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.0001539/0.09235, allocations: 192.5 kB / 322.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.09256, allocations: 99.28 kB / 323 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007375/0.0933, allocations: 0.6198 MB / 323.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.0933, allocations: 4 kB / 323.7 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.09331, allocations: 8 kB / 323.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005553/0.09386, allocations: 0.5452 MB / 324.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.09491, allocations: 0.8578 MB / 325.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.09492, allocations: 64 / 325.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.09515, allocations: 103.9 kB / 325.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004539/0.0956, allocations: 139.4 kB / 325.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-05/0.09565, allocations: 19.98 kB / 325.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.09565, allocations: 4 kB / 325.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.09566, allocations: 0 / 325.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008251/0.09648, allocations: 0.6616 MB / 326 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.09653, allocations: 23.81 kB / 326 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.09657, allocations: 15.98 kB / 326 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.09675, allocations: 27.92 kB / 326.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.09679, allocations: 36.47 kB / 326.1 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.304e-05/0.09683, allocations: 31.97 kB / 326.1 MB, free: 11.55 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.09693, allocations: 205.1 kB / 326.3 MB, free: 11.35 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09693, allocations: 0 / 326.3 MB, free: 11.35 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003205/0.1001, allocations: 1.282 MB / 327.6 MB, free: 10.06 MB / 314.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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005022/0.1052, allocations: 1.839 MB / 329.4 MB, free: 8.215 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009815/0.1061, allocations: 0.6578 MB / 330.1 MB, free: 7.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.1061, allocations: 0 / 330.1 MB, free: 7.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004108/0.1066, allocations: 227 kB / 330.3 MB, free: 7.293 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007364/0.1073, allocations: 243.8 kB / 330.6 MB, free: 7.059 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.1088, allocations: 0.8763 MB / 331.4 MB, free: 6.137 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.513e-05/0.1089, allocations: 126.9 kB / 331.6 MB, free: 5.992 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003052/0.1092, allocations: 103.3 kB / 331.7 MB, free: 5.891 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004681/0.1097, allocations: 317.9 kB / 332 MB, free: 5.578 MB / 314.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1097, allocations: 0 / 332 MB, free: 5.578 MB / 314.7 MB Notification: Performance of Templates: time 0.1487/0.2584, allocations: 53.43 MB / 385.4 MB, free: 60.27 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 5.477879473008215]