Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.0008973/0.0008973, allocations: 80.8 kB / 22.28 MB, free: 2.211 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.0009103/0.0009103, allocations: 164.2 kB / 25.69 MB, free: 8.449 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.9149/0.9149, allocations: 158.6 MB / 187.6 MB, free: 2.789 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.Tests.MediaTestModels.Air.MoistAir,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.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,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.Tests.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 3.938 kB / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.151e-05, allocations: 6.312 kB / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.2518/0.2518, allocations: 146.7 MB / 398.3 MB, free: 9.164 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.2529, allocations: 0.843 MB / 399.2 MB, free: 9.078 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.253, allocations: 10.25 kB / 399.2 MB, free: 9.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004181/0.2534, allocations: 126.2 kB / 399.3 MB, free: 9.039 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004975/0.2539, allocations: 401.6 kB / 399.7 MB, free: 8.996 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.2563, allocations: 1.376 MB / 401.1 MB, free: 8.766 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007393/0.257, allocations: 1.225 MB / 402.3 MB, free: 8.406 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.2572, allocations: 99.38 kB / 402.4 MB, free: 8.379 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007959/0.258, allocations: 0.8253 MB / 403.2 MB, free: 8.16 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003959/0.2584, allocations: 388.8 kB / 403.6 MB, free: 8.023 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.739e-05/0.2584, allocations: 62.97 kB / 403.7 MB, free: 8.023 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.2596, allocations: 1.31 MB / 405 MB, free: 7.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.2597, allocations: 254.2 kB / 405.2 MB, free: 7.578 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.2598, allocations: 251.5 kB / 405.5 MB, free: 7.535 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000958/0.2608, allocations: 1.376 MB / 406.8 MB, free: 7.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2608, allocations: 0 / 406.8 MB, free: 7.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.2608, allocations: 4 kB / 406.9 MB, free: 7.066 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2608, allocations: 0 / 406.9 MB, free: 7.066 MB / 330.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.0008194/0.2616, allocations: 0.8207 MB / 407.7 MB, free: 6.516 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.2617, allocations: 12.33 kB / 407.7 MB, free: 6.512 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002274/0.2619, allocations: 107.5 kB / 407.8 MB, free: 6.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.2621, allocations: 251 kB / 408 MB, free: 6.281 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.2622, allocations: 34.28 kB / 408.1 MB, free: 6.281 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.659e-05/0.2622, allocations: 47.34 kB / 408.1 MB, free: 6.281 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.2626, allocations: 0.606 MB / 408.7 MB, free: 5.766 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.2626, allocations: 5.953 kB / 408.7 MB, free: 5.762 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.2626, allocations: 22.28 kB / 408.7 MB, free: 5.762 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.2626, allocations: 11.53 kB / 408.8 MB, free: 5.762 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.2628, allocations: 224.1 kB / 409 MB, free: 5.695 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.264, allocations: 0.9133 MB / 409.9 MB, free: 5.297 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.2644, allocations: 339.3 kB / 410.2 MB, free: 5.176 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.775e-05/0.2645, allocations: 114.5 kB / 410.3 MB, free: 5.145 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.76e-05/0.2646, allocations: 48.84 kB / 410.4 MB, free: 5.137 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.2646, allocations: 47.11 kB / 410.4 MB, free: 5.094 MB / 330.7 MB Notification: Performance of pre-optimization done (n=53): time 1.493e-06/0.2646, allocations: 0 / 410.4 MB, free: 5.094 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.00395/0.2686, allocations: 2.125 MB / 412.6 MB, free: 4.281 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.411e-05/0.2686, allocations: 57.31 kB / 412.6 MB, free: 4.219 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.092e-05/0.2687, allocations: 211.4 kB / 412.8 MB, free: 4.082 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.2687, allocations: 38.55 kB / 412.9 MB, free: 4.051 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.2688, allocations: 189.2 kB / 413 MB, free: 3.895 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.427e-05/0.2688, allocations: 238.2 kB / 413.3 MB, free: 3.723 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.2689, allocations: 114 kB / 413.4 MB, free: 3.688 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.993e-05/0.269, allocations: 351 kB / 413.7 MB, free: 3.363 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.2691, allocations: 87.31 kB / 413.8 MB, free: 3.348 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.2692, allocations: 154.7 kB / 414 MB, free: 3.277 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.2695, allocations: 311.8 kB / 414.3 MB, free: 3.148 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2695, allocations: 0 / 414.3 MB, free: 3.148 MB / 330.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0004184/0.2699, allocations: 399.9 kB / 414.7 MB, free: 2.992 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.2699, allocations: 5.188 kB / 414.7 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2699, allocations: 11.16 kB / 414.7 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004169/0.2704, allocations: 175.2 kB / 414.8 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.2706, allocations: 115.4 kB / 415 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009239/0.2715, allocations: 2.932 MB / 417.9 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.2717, allocations: 25.23 kB / 417.9 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.2718, allocations: 21.52 kB / 417.9 MB, free: 15.96 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.2719, allocations: 141.6 kB / 418.1 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.271e-05/0.272, allocations: 49.77 kB / 418.1 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006695/0.2726, allocations: 0.5179 MB / 418.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2726, allocations: 5.5 kB / 418.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.2726, allocations: 2.781 kB / 418.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004682/0.2731, allocations: 0.5528 MB / 419.2 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008709/0.274, allocations: 0.8592 MB / 420.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.274, allocations: 3.5 kB / 420.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.2742, allocations: 106 kB / 420.2 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005441/0.2748, allocations: 234.2 kB / 420.4 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.2748, allocations: 19.27 kB / 420.4 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003316/0.2751, allocations: 0.6052 MB / 421 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2751, allocations: 0 / 421 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000626/0.2758, allocations: 0.6513 MB / 421.7 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.913e-05/0.2758, allocations: 30.98 kB / 421.7 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.2758, allocations: 26.73 kB / 421.7 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.2761, allocations: 38.41 kB / 421.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.2761, allocations: 37.72 kB / 421.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/0.2762, allocations: 29.83 kB / 421.8 MB, free: 13.69 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.337e-05/0.2762, allocations: 73.22 kB / 421.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2762, allocations: 0 / 421.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000462/0.2767, allocations: 328.6 kB / 422.2 MB, free: 13.61 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005165/0.2772, allocations: 367.4 kB / 422.6 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005787/0.2778, allocations: 0.5762 MB / 423.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2778, allocations: 8.062 kB / 423.2 MB, free: 12.9 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002578/0.278, allocations: 221.1 kB / 423.4 MB, free: 12.69 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006119/0.2786, allocations: 270.9 kB / 423.6 MB, free: 12.47 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.2801, allocations: 1.009 MB / 424.7 MB, free: 11.51 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.183e-05/0.2801, allocations: 135 kB / 424.8 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002349/0.2804, allocations: 88.31 kB / 424.9 MB, free: 11.28 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004788/0.2809, allocations: 265.2 kB / 425.1 MB, free: 11.03 MB / 346.7 MB Notification: Performance of SimCode: time 7.01e-07/0.2809, allocations: 4 kB / 425.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of Templates: time 0.01773/0.2986, allocations: 18.54 MB / 443.7 MB, free: 8.734 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.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: 3.4670815928839147]