Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.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.001511/0.001511, allocations: 111.6 kB / 20.43 MB, free: 1.473 MB / 14.72 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.001551/0.001551, allocations: 212.9 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2337/0.2337, allocations: 46.93 MB / 360.9 MB, free: 4.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.1.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.1.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 67.91 kB / 0.4967 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4053, allocations: 66.03 MB / 0.5611 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.7197/1.125, allocations: 195 MB / 0.7516 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01085/1.136, allocations: 7.525 MB / 0.7589 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/1.137, allocations: 26.56 kB / 0.759 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001601/1.139, allocations: 452.1 kB / 0.7594 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007352/1.146, allocations: 2.416 MB / 0.7617 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006934/1.153, allocations: 2.368 MB / 0.7641 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003982/1.157, allocations: 2.224 MB / 0.7662 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008989/1.158, allocations: 0.5077 MB / 0.7667 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004699/1.163, allocations: 1.878 MB / 0.7686 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001787/1.164, allocations: 0.9187 MB / 0.7695 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001652/1.165, allocations: 90.94 kB / 0.7695 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.012/1.177, allocations: 5.467 MB / 0.7749 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001088/1.178, allocations: 441.1 kB / 0.7753 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001135/1.179, allocations: 0.5349 MB / 0.7758 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01179/1.191, allocations: 3.842 MB / 0.7796 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.191, allocations: 0.9062 kB / 0.7796 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.783e-06/1.191, allocations: 0 / 0.7796 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.368e-05/1.191, allocations: 0 / 0.7796 GB, free: 1.18 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004986/1.196, allocations: 1.708 MB / 0.7812 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/1.196, allocations: 8.094 kB / 0.7813 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000451/1.196, allocations: 110.8 kB / 0.7814 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/1.197, allocations: 0.5628 MB / 0.7819 GB, free: 16.06 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/1.198, allocations: 173.9 kB / 0.7821 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/1.198, allocations: 71.2 kB / 0.7821 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/1.199, allocations: 1.163 MB / 0.7833 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/1.199, allocations: 0.8125 kB / 0.7833 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.415e-05/1.2, allocations: 33.89 kB / 0.7833 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.482e-05/1.2, allocations: 56.34 kB / 0.7834 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/1.202, allocations: 1.164 MB / 0.7845 GB, free: 15.73 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007675/1.209, allocations: 4.927 MB / 0.7893 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/1.211, allocations: 0.7921 MB / 0.7901 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006077/1.212, allocations: 404.6 kB / 0.7905 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006785/1.212, allocations: 216.8 kB / 0.7907 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/1.212, allocations: 48.47 kB / 0.7907 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.495e-06/1.212, allocations: 0 / 0.7907 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01356/1.226, allocations: 3.942 MB / 0.7946 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/1.226, allocations: 111.3 kB / 0.7947 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/1.227, allocations: 0.6615 MB / 0.7953 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001315/1.227, allocations: 43.39 kB / 0.7954 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/1.227, allocations: 397.2 kB / 0.7957 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003104/1.228, allocations: 303.1 kB / 0.796 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003444/1.228, allocations: 199.7 kB / 0.7962 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002411/1.228, allocations: 392 kB / 0.7966 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/1.229, allocations: 495.7 kB / 0.7971 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/1.231, allocations: 0.755 MB / 0.7978 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/1.233, allocations: 1.287 MB / 0.7991 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-06/1.233, allocations: 5.125 kB / 0.7991 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003484/1.237, allocations: 1.661 MB / 0.8007 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/1.237, allocations: 9.531 kB / 0.8007 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/1.237, allocations: 8.031 kB / 0.8007 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007292/1.244, allocations: 1.302 MB / 0.802 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007127/1.245, allocations: 159 kB / 0.8021 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/1.248, allocations: 1.532 MB / 0.8036 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/1.249, allocations: 54.64 kB / 0.8037 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/1.249, allocations: 57.06 kB / 0.8037 GB, free: 9.266 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0006444/1.249, allocations: 298.7 kB / 0.804 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/1.25, allocations: 88.89 kB / 0.8041 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003433/1.253, allocations: 1.675 MB / 0.8057 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/1.253, allocations: 9.469 kB / 0.8058 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.253, allocations: 4 kB / 0.8058 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/1.253, allocations: 3.984 kB / 0.8058 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004758/1.258, allocations: 2.534 MB / 0.8082 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.258, allocations: 0 / 0.8082 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/1.259, allocations: 259.9 kB / 0.8085 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/1.261, allocations: 378.1 kB / 0.8088 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/1.261, allocations: 37.22 kB / 0.8089 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002933/1.264, allocations: 2.244 MB / 0.8111 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.264, allocations: 0 / 0.8111 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004086/1.268, allocations: 2.041 MB / 0.8131 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007356/1.269, allocations: 220.7 kB / 0.8133 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/1.269, allocations: 24 kB / 0.8133 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008215/1.27, allocations: 56.03 kB / 0.8133 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/1.27, allocations: 72 kB / 0.8134 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/1.27, allocations: 43.97 kB / 0.8135 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008334/1.271, allocations: 0.499 MB / 0.8139 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/1.271, allocations: 0 / 0.8139 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002706/1.274, allocations: 0.6935 MB / 0.8146 GB, free: 1.465 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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 {1} * 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): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002121/1.276, allocations: 0.815 MB / 0.8154 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003086/1.279, allocations: 1.19 MB / 0.8166 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.279, allocations: 1.203 kB / 0.8166 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001919/1.281, allocations: 0.6922 MB / 0.8173 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002463/1.283, allocations: 0.5136 MB / 0.8178 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005304/1.289, allocations: 2.199 MB / 0.8199 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009233/1.289, allocations: 1.047 MB / 0.8209 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001021/1.29, allocations: 366.9 kB / 0.8213 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/1.291, allocations: 87.41 kB / 0.8214 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of SimCode: time 7.72e-07/1.291, allocations: 0 / 0.8214 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of Templates: time 0.06438/1.355, allocations: 35.9 MB / 0.8564 GB, free: 7.039 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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: 7.888617895077914]