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.0009734/0.0009734, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.000975/0.000975, allocations: 165.7 kB / 25.33 MB, free: 8.582 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.8711/0.8711, allocations: 158.6 MB / 187.2 MB, free: 2.926 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.543e-06/1.543e-06, allocations: 0 / 251.1 MB, free: 7.504 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.276e-05, allocations: 2.312 kB / 251.1 MB, free: 7.5 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.02238/0.02241, allocations: 25.2 MB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002811/0.02522, allocations: 2.424 MB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.02538, allocations: 11.88 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.02577, allocations: 119.2 kB / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004826/0.02625, allocations: 393.5 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01132/0.03757, allocations: 6.443 MB / 285.6 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.03863, allocations: 1.134 MB / 286.8 MB, free: 3.652 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.03883, allocations: 93.88 kB / 286.9 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003997/0.04282, allocations: 3.553 MB / 290.4 MB, free: 15.99 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004564/0.04328, allocations: 378.9 kB / 290.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.299e-05/0.04335, allocations: 56 kB / 290.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01106/0.05441, allocations: 8.814 MB / 299.6 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004762/0.05489, allocations: 239.4 kB / 299.9 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002816/0.05517, allocations: 243.6 kB / 300.1 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009419/0.06459, allocations: 6.103 MB / 306.2 MB, free: 156 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.06459, allocations: 0 / 306.2 MB, free: 156 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.06459, allocations: 0 / 306.2 MB, free: 156 kB / 282.7 MB Notification: Performance of Transformations before backend: time 8.617e-06/0.0646, allocations: 0 / 306.2 MB, free: 156 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.002568/0.06717, allocations: 1.365 MB / 307.6 MB, free: 14.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.06721, allocations: 19.92 kB / 307.6 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002817/0.06749, allocations: 124.1 kB / 307.7 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.06782, allocations: 307.1 kB / 308 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.06785, allocations: 29 kB / 308.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/0.0679, allocations: 52 kB / 308.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000711/0.06862, allocations: 0.6473 MB / 308.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.06863, allocations: 0 / 308.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.06867, allocations: 32 kB / 308.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.06868, allocations: 8 kB / 308.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005777/0.06926, allocations: 365.6 kB / 309.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00608/0.07534, allocations: 3.492 MB / 312.6 MB, free: 9.539 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006433/0.07598, allocations: 317.5 kB / 313 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.07615, allocations: 129.1 kB / 313.1 MB, free: 9.094 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00505/0.0812, allocations: 2.535 MB / 315.6 MB, free: 6.555 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.08124, allocations: 45.88 kB / 315.7 MB, free: 6.496 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 2.134e-06/0.08124, allocations: 0 / 315.7 MB, free: 6.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.002961/0.0842, allocations: 1.362 MB / 317 MB, free: 5.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.08424, allocations: 59.84 kB / 317.1 MB, free: 5.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.08445, allocations: 292.2 kB / 317.4 MB, free: 4.715 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.08449, allocations: 37.7 kB / 317.4 MB, free: 4.672 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.08462, allocations: 256 kB / 317.7 MB, free: 4.414 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.08473, allocations: 206.2 kB / 317.9 MB, free: 4.211 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.08486, allocations: 119.9 kB / 318 MB, free: 4.086 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.085, allocations: 0.5157 MB / 318.5 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.08517, allocations: 101.2 kB / 318.6 MB, free: 3.457 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.08549, allocations: 243.5 kB / 318.8 MB, free: 3.176 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005685/0.08606, allocations: 374.4 kB / 319.2 MB, free: 2.766 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.08606, allocations: 0 / 319.2 MB, free: 2.766 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009654/0.08703, allocations: 0.5465 MB / 319.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.08704, allocations: 4 kB / 319.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.08705, allocations: 4 kB / 319.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002847/0.08734, allocations: 94.94 kB / 319.8 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.08764, allocations: 132 kB / 320 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002111/0.08975, allocations: 4.377 MB / 324.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.08991, allocations: 16 kB / 324.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.001e-05/0.08996, allocations: 31.98 kB / 324.4 MB, free: 13.25 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.0001601/0.09012, allocations: 188.5 kB / 324.6 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.09035, allocations: 103.2 kB / 324.7 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008481/0.09119, allocations: 0.6239 MB / 325.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.0912, allocations: 8.062 kB / 325.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.0912, allocations: 4 kB / 325.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000575/0.09178, allocations: 0.5608 MB / 325.9 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.0929, allocations: 0.9354 MB / 326.8 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.09291, allocations: 4 kB / 326.8 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.09315, allocations: 95.89 kB / 326.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004673/0.09362, allocations: 143.5 kB / 327 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.72e-05/0.09365, allocations: 16 kB / 327.1 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002929/0.09395, allocations: 0.9205 MB / 328 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.09395, allocations: 8 kB / 328 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.09509, allocations: 0.6774 MB / 328.7 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.09513, allocations: 39.73 kB / 328.7 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.09517, allocations: 12 kB / 328.7 MB, free: 8.688 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.09536, allocations: 27.95 kB / 328.7 MB, free: 8.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.09541, allocations: 36.44 kB / 328.8 MB, free: 8.621 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/0.09545, allocations: 27.97 kB / 328.8 MB, free: 8.594 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001392/0.09559, allocations: 217.1 kB / 329 MB, free: 8.383 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09559, allocations: 0 / 329 MB, free: 8.383 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002971/0.09856, allocations: 1.278 MB / 330.3 MB, free: 7.102 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.004437/0.103, allocations: 1.812 MB / 332.1 MB, free: 5.281 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.1041, allocations: 0.6933 MB / 332.8 MB, free: 4.551 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.1041, allocations: 0 / 332.8 MB, free: 4.551 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002982/0.1044, allocations: 199 kB / 333 MB, free: 4.352 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007617/0.1051, allocations: 246.9 kB / 333.2 MB, free: 4.113 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.1067, allocations: 0.904 MB / 334.1 MB, free: 3.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.148e-05/0.1068, allocations: 130.9 kB / 334.3 MB, free: 3.016 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003252/0.1072, allocations: 115.3 kB / 334.4 MB, free: 2.902 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.1073, allocations: 56.48 kB / 334.4 MB, free: 2.848 MB / 314.7 MB Notification: Performance of SimCode: time 1.703e-06/0.1073, allocations: 0 / 334.4 MB, free: 2.848 MB / 314.7 MB Notification: Performance of Templates: time 0.1539/0.2612, allocations: 54.65 MB / 389.1 MB, free: 56.18 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.156636784784496]