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.000886/0.000886, allocations: 85.95 kB / 23 MB, free: 1.504 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.001719/0.001719, allocations: 172.2 kB / 26.39 MB, free: 8 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.8595/0.8595, allocations: 158.6 MB / 188.3 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.323e-06/1.323e-06, allocations: 0 / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013e-05/1.145e-05, allocations: 6.25 kB / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.0194/0.01941, allocations: 24.84 MB / 277.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.02174, allocations: 2.393 MB / 279.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.02188, allocations: 4 kB / 279.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.02224, allocations: 131.2 kB / 279.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.02265, allocations: 385.5 kB / 280 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009137/0.03179, allocations: 6.443 MB / 286.5 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008518/0.03264, allocations: 1.142 MB / 287.6 MB, free: 3.773 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.03279, allocations: 89.88 kB / 287.7 MB, free: 3.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003976/0.03677, allocations: 3.549 MB / 291.2 MB, free: 128 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00651/0.04328, allocations: 379 kB / 291.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.042e-05/0.04336, allocations: 60 kB / 291.7 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03589/0.07925, allocations: 8.811 MB / 300.5 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004415/0.07969, allocations: 239.4 kB / 300.7 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.07993, allocations: 243.6 kB / 300.9 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01904/0.09897, allocations: 6.095 MB / 307 MB, free: 296 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.09897, allocations: 4 kB / 307 MB, free: 292 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.09897, allocations: 0 / 307 MB, free: 292 kB / 282.7 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.09898, allocations: 4 kB / 307.1 MB, free: 288 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.002205/0.1012, allocations: 1.372 MB / 308.4 MB, free: 14.87 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.1012, allocations: 11.98 kB / 308.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003096/0.1015, allocations: 124.1 kB / 308.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.1018, allocations: 303.1 kB / 308.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.1018, allocations: 29 kB / 308.9 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.362e-05/0.1019, allocations: 48 kB / 308.9 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.1025, allocations: 0.6082 MB / 309.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1025, allocations: 0 / 309.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.1025, allocations: 20 kB / 309.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1025, allocations: 12 kB / 309.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/0.1029, allocations: 306.6 kB / 309.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005378/0.1083, allocations: 3.2 MB / 313.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004945/0.1088, allocations: 296.6 kB / 313.4 MB, free: 9.789 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.1089, allocations: 113.1 kB / 313.5 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004647/0.1136, allocations: 2.297 MB / 315.8 MB, free: 7.379 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.1136, allocations: 45.89 kB / 315.8 MB, free: 7.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 1.583e-06/0.1136, allocations: 0 / 315.8 MB, free: 7.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.002374/0.116, allocations: 1.237 MB / 317 MB, free: 6.039 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.116, allocations: 55.91 kB / 317.1 MB, free: 5.973 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.1162, allocations: 292.1 kB / 317.4 MB, free: 5.668 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.1162, allocations: 33.7 kB / 317.4 MB, free: 5.629 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.314e-05/0.1163, allocations: 260 kB / 317.7 MB, free: 5.367 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.484e-05/0.1164, allocations: 206.2 kB / 317.9 MB, free: 5.164 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.1165, allocations: 119.9 kB / 318 MB, free: 5.039 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1166, allocations: 0.5195 MB / 318.5 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.1167, allocations: 77.25 kB / 318.6 MB, free: 4.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.117, allocations: 211.5 kB / 318.8 MB, free: 4.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004271/0.1174, allocations: 338.3 kB / 319.1 MB, free: 3.805 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1174, allocations: 4 kB / 319.1 MB, free: 3.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007859/0.1182, allocations: 0.4957 MB / 319.6 MB, free: 3.285 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.1182, allocations: 8 kB / 319.6 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1182, allocations: 0 / 319.6 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002144/0.1184, allocations: 87 kB / 319.7 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.1187, allocations: 124.1 kB / 319.8 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/0.1204, allocations: 4.343 MB / 324.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.1205, allocations: 12 kB / 324.2 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.1205, allocations: 27.98 kB / 324.2 MB, free: 14.41 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): 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.0001285/0.1207, allocations: 192.4 kB / 324.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/0.1209, allocations: 95.28 kB / 324.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006997/0.1216, allocations: 0.6042 MB / 325.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1216, allocations: 12 kB / 325.1 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.1216, allocations: 3.984 kB / 325.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004599/0.122, allocations: 0.5295 MB / 325.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000899/0.1229, allocations: 0.8345 MB / 326.5 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1229, allocations: 0 / 326.5 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.1232, allocations: 103.8 kB / 326.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004318/0.1236, allocations: 139.5 kB / 326.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.1236, allocations: 16 kB / 326.7 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002701/0.1239, allocations: 0.9128 MB / 327.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1239, allocations: 3.984 kB / 327.7 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007096/0.1246, allocations: 0.6422 MB / 328.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.1246, allocations: 31.8 kB / 328.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.1247, allocations: 12 kB / 328.3 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.1249, allocations: 19.98 kB / 328.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.1249, allocations: 32.44 kB / 328.4 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.1249, allocations: 27.97 kB / 328.4 MB, free: 9.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.131e-05/0.125, allocations: 205 kB / 328.6 MB, free: 9.781 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.125, allocations: 0 / 328.6 MB, free: 9.781 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002002/0.127, allocations: 1.282 MB / 329.9 MB, free: 8.496 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): 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.00434/0.1314, allocations: 1.856 MB / 331.8 MB, free: 6.637 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007879/0.1321, allocations: 0.6502 MB / 332.4 MB, free: 5.949 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1321, allocations: 0 / 332.4 MB, free: 5.949 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.1324, allocations: 183 kB / 332.6 MB, free: 5.766 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006802/0.1331, allocations: 233.6 kB / 332.8 MB, free: 5.539 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.1343, allocations: 0.904 MB / 333.7 MB, free: 4.586 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.938e-05/0.1344, allocations: 126.9 kB / 333.8 MB, free: 4.441 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002754/0.1347, allocations: 107.3 kB / 333.9 MB, free: 4.336 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004838/0.1351, allocations: 321.9 kB / 334.3 MB, free: 4.02 MB / 314.7 MB Notification: Performance of SimCode: time 1.283e-06/0.1351, allocations: 0 / 334.3 MB, free: 4.02 MB / 314.7 MB Notification: Performance of Templates: time 0.1418/0.2769, allocations: 53.17 MB / 387.4 MB, free: 58.44 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: 7.441906471736729]