Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.002051/0.002051, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.002455/0.002455, allocations: 167.1 kB / 25.02 MB, free: 9.438 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 1.434/1.434, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 250.4 MB, free: 3.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/2.959e-05, allocations: 2.312 kB / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2041/0.2041, allocations: 58.85 MB / 309.2 MB, free: 14.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00649/0.2106, allocations: 4.964 MB / 314.2 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002978/0.2109, allocations: 8.719 kB / 314.2 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009722/0.2119, allocations: 331.5 kB / 314.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009076/0.2128, allocations: 0.5442 MB / 315.1 MB, free: 14.19 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01722/0.23, allocations: 7.198 MB / 322.3 MB, free: 13.56 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001924/0.2319, allocations: 1.564 MB / 323.8 MB, free: 13.24 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002776/0.2322, allocations: 150 kB / 324 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.2336, allocations: 0.8457 MB / 324.8 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007509/0.2343, allocations: 0.5304 MB / 325.3 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.2345, allocations: 82.22 kB / 325.4 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01737/0.2518, allocations: 9.44 MB / 334.9 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004577/0.2523, allocations: 345.8 kB / 335.2 MB, free: 9.859 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006032/0.2529, allocations: 339.5 kB / 335.5 MB, free: 9.719 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01384/0.2667, allocations: 7.117 MB / 342.6 MB, free: 4.059 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2667, allocations: 0 / 342.6 MB, free: 4.059 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2667, allocations: 0 / 342.6 MB, free: 4.059 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.2667, allocations: 0 / 342.6 MB, free: 4.059 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003491/0.2702, allocations: 1.513 MB / 344.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.2703, allocations: 15.98 kB / 344.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005371/0.2708, allocations: 160.5 kB / 344.3 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005576/0.2714, allocations: 387.6 kB / 344.7 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.2714, allocations: 49.31 kB / 344.8 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.2715, allocations: 78.98 kB / 344.8 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.2732, allocations: 1.214 MB / 346.1 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.2732, allocations: 0 / 346.1 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.44e-05/0.2733, allocations: 28 kB / 346.1 MB, free: 496 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.2733, allocations: 19.98 kB / 346.1 MB, free: 476 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.2753, allocations: 1.024 MB / 347.1 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01565/0.2909, allocations: 4.067 MB / 351.2 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/0.2929, allocations: 0.7123 MB / 351.9 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007086/0.2936, allocations: 390.4 kB / 352.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01265/0.3063, allocations: 2.621 MB / 354.9 MB, free: 7.711 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.99e-05/0.3063, allocations: 47.16 kB / 355 MB, free: 7.656 MB / 298.7 MB Notification: Performance of pre-optimization done (n=78): time 2.926e-06/0.3063, allocations: 0 / 355 MB, free: 7.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=88): time 0.01121/0.3175, allocations: 3.208 MB / 358.2 MB, free: 4.457 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.3176, allocations: 63.12 kB / 358.2 MB, free: 4.387 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004376/0.318, allocations: 305.8 kB / 358.5 MB, free: 4.078 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.73e-05/0.3181, allocations: 41.7 kB / 358.6 MB, free: 4.031 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/0.3184, allocations: 245.1 kB / 358.8 MB, free: 3.785 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003375/0.3187, allocations: 320.1 kB / 359.1 MB, free: 3.477 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003103/0.319, allocations: 158.6 kB / 359.3 MB, free: 3.316 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002485/0.3193, allocations: 364 kB / 359.6 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007217/0.32, allocations: 373.8 kB / 360 MB, free: 2.582 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.3211, allocations: 496.2 kB / 360.5 MB, free: 2.066 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002277/0.3234, allocations: 0.9013 MB / 361.4 MB, free: 1.141 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3234, allocations: 4 kB / 361.4 MB, free: 1.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003203/0.3266, allocations: 1.218 MB / 362.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.3266, allocations: 8.625 kB / 362.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.3266, allocations: 0 / 362.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009479/0.3276, allocations: 174.7 kB / 362.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008584/0.3284, allocations: 193.2 kB / 363 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004009/0.3324, allocations: 3.867 MB / 366.8 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004172/0.3328, allocations: 20 kB / 366.8 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.333, allocations: 43.98 kB / 366.9 MB, free: 11.4 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0004575/0.3334, allocations: 222.8 kB / 367.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006036/0.334, allocations: 158.8 kB / 367.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00306/0.3371, allocations: 1.279 MB / 368.5 MB, free: 9.715 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.3371, allocations: 8 kB / 368.6 MB, free: 9.707 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.3371, allocations: 0 / 368.6 MB, free: 9.707 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002324/0.3394, allocations: 1.319 MB / 369.9 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003549/0.343, allocations: 1.729 MB / 371.6 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.343, allocations: 0 / 371.6 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007882/0.3438, allocations: 164.7 kB / 371.8 MB, free: 6.363 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001944/0.3457, allocations: 309.3 kB / 372.1 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-05/0.3458, allocations: 27.98 kB / 372.1 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.3469, allocations: 1.288 MB / 373.4 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3469, allocations: 4.031 kB / 373.4 MB, free: 4.691 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003161/0.3501, allocations: 1.494 MB / 374.9 MB, free: 3.176 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.3502, allocations: 43.7 kB / 374.9 MB, free: 3.133 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-05/0.3503, allocations: 28.25 kB / 374.9 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005492/0.3508, allocations: 31.97 kB / 375 MB, free: 3.074 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.3509, allocations: 51.53 kB / 375 MB, free: 3.023 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.3511, allocations: 51.89 kB / 375.1 MB, free: 2.973 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003273/0.3514, allocations: 243 kB / 375.3 MB, free: 2.734 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3514, allocations: 0 / 375.3 MB, free: 2.734 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.004438/0.3558, allocations: 1.407 MB / 376.7 MB, free: 1.324 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006367/0.3622, allocations: 1.927 MB / 378.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002609/0.3648, allocations: 1.111 MB / 379.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3648, allocations: 0 / 379.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.3659, allocations: 475.9 kB / 380.2 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.3678, allocations: 365.7 kB / 380.6 MB, free: 13.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003181/0.371, allocations: 1.514 MB / 382.1 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.3714, allocations: 321.8 kB / 382.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007161/0.3721, allocations: 196.8 kB / 382.6 MB, free: 11.53 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.3724, allocations: 76.48 kB / 382.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of SimCode: time 8.31e-07/0.3724, allocations: 0 / 382.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of Templates: time 0.08921/0.4616, allocations: 50.93 MB / 433.6 MB, free: 8.551 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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: 20.540108743007295]