Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008821/0.000882, allocations: 93.42 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009336/0.0009337, allocations: 171.3 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1927/0.1927, allocations: 44.25 MB / 337.7 MB, free: 2.414 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002965, allocations: 8 kB / 410.4 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1009, allocations: 61.93 MB / 472.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3661/0.467, allocations: 146.9 MB / 0.6047 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.4688, allocations: 1.407 MB / 0.6061 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.4688, allocations: 0 / 0.6061 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.4691, allocations: 43.8 kB / 0.6061 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00247/0.4716, allocations: 0.8548 MB / 0.607 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.537e-06/0.4716, allocations: 5.344 kB / 0.607 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.4717, allocations: 91.72 kB / 0.6071 GB, free: 13.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.929e-05/0.4718, allocations: 0 / 0.6071 GB, free: 13.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.283e-05/0.4718, allocations: 31.86 kB / 0.6071 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.477e-05/0.4719, allocations: 19.92 kB / 0.6071 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.011e-06/0.4719, allocations: 0 / 0.6071 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002789/0.4747, allocations: 1.856 MB / 0.6089 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.419e-05/0.4747, allocations: 15.91 kB / 0.6089 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.4748, allocations: 41.64 kB / 0.609 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.4764, allocations: 0.9317 MB / 0.6099 GB, free: 10.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.4764, allocations: 0 / 0.6099 GB, free: 10.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4764, allocations: 0 / 0.6099 GB, free: 10.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.4764, allocations: 0 / 0.6099 GB, free: 10.2 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006629/0.4771, allocations: 481.4 kB / 0.6104 GB, free: 9.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.4771, allocations: 8.031 kB / 0.6104 GB, free: 9.672 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.639e-05/0.4772, allocations: 50.66 kB / 0.6104 GB, free: 9.613 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.005e-05/0.4772, allocations: 5.625 kB / 0.6104 GB, free: 9.609 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.852e-05/0.4773, allocations: 163.8 kB / 0.6106 GB, free: 9.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.4773, allocations: 8 kB / 0.6106 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.4773, allocations: 4 kB / 0.6106 GB, free: 9.398 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.4775, allocations: 77.59 kB / 0.6107 GB, free: 9.316 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.4775, allocations: 0 / 0.6107 GB, free: 9.316 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.4775, allocations: 4 kB / 0.6107 GB, free: 9.312 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.4775, allocations: 4 kB / 0.6107 GB, free: 9.309 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.641e-05/0.4776, allocations: 51.91 kB / 0.6107 GB, free: 9.258 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.4779, allocations: 312.7 kB / 0.611 GB, free: 8.902 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.027e-05/0.478, allocations: 34.5 kB / 0.611 GB, free: 8.859 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.478, allocations: 12.86 kB / 0.6111 GB, free: 8.844 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.4783, allocations: 259.4 kB / 0.6113 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.4783, allocations: 34.5 kB / 0.6113 GB, free: 8.492 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.4783, allocations: 0 / 0.6113 GB, free: 8.492 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001514/0.4784, allocations: 53.69 kB / 0.6114 GB, free: 8.434 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.4785, allocations: 59.41 kB / 0.6114 GB, free: 8.363 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.199e-05/0.4786, allocations: 105.8 kB / 0.6115 GB, free: 8.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.4786, allocations: 25.7 kB / 0.6116 GB, free: 8.219 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.4787, allocations: 91.89 kB / 0.6117 GB, free: 8.125 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.4787, allocations: 15.81 kB / 0.6117 GB, free: 8.109 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.4787, allocations: 13.7 kB / 0.6117 GB, free: 8.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.4788, allocations: 314.8 kB / 0.612 GB, free: 7.773 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.1e-05/0.4788, allocations: 8 kB / 0.612 GB, free: 7.766 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.293e-05/0.4789, allocations: 43.42 kB / 0.612 GB, free: 7.711 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.8e-05/0.4789, allocations: 51.36 kB / 0.6121 GB, free: 7.648 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.479, allocations: 0 / 0.6121 GB, free: 7.648 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001132/0.4791, allocations: 65.72 kB / 0.6121 GB, free: 7.578 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4791, allocations: 15.94 kB / 0.6122 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4791, allocations: 0 / 0.6122 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.4791, allocations: 0 / 0.6122 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.545e-05/0.4792, allocations: 19.92 kB / 0.6122 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.4792, allocations: 0 / 0.6122 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.426e-05/0.4793, allocations: 7.906 kB / 0.6122 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.4793, allocations: 4 kB / 0.6122 GB, free: 7.531 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.767e-05/0.4794, allocations: 113.8 kB / 0.6123 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.4794, allocations: 7.938 kB / 0.6123 GB, free: 7.402 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.4795, allocations: 69.53 kB / 0.6124 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.4796, allocations: 112 / 0.6124 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4796, allocations: 11.88 kB / 0.6124 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4796, allocations: 4.031 kB / 0.6124 GB, free: 7.316 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.4797, allocations: 161.7 kB / 0.6125 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4797, allocations: 0 / 0.6125 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.16e-05/0.4798, allocations: 8 kB / 0.6126 GB, free: 7.102 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.4798, allocations: 11.94 kB / 0.6126 GB, free: 7.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.4798, allocations: 0 / 0.6126 GB, free: 7.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4798, allocations: 0 / 0.6126 GB, free: 7.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4798, allocations: 1.25 kB / 0.6126 GB, free: 7.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.4799, allocations: 143.5 kB / 0.6127 GB, free: 6.934 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/0.48, allocations: 88.94 kB / 0.6128 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.48, allocations: 4 kB / 0.6128 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.677e-05/0.4801, allocations: 0 / 0.6128 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.4801, allocations: 4 kB / 0.6128 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.4801, allocations: 4 kB / 0.6128 GB, free: 6.816 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.052e-05/0.4801, allocations: 83.2 kB / 0.6129 GB, free: 6.734 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4802, allocations: 0 / 0.6129 GB, free: 6.734 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005095/0.4807, allocations: 139.9 kB / 0.613 GB, free: 6.598 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/0.4818, allocations: 0.8975 MB / 0.6139 GB, free: 5.691 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.756e-05/0.4819, allocations: 44.02 kB / 0.6139 GB, free: 5.648 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4819, allocations: 0 / 0.6139 GB, free: 5.648 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.831e-05/0.4819, allocations: 11.98 kB / 0.6139 GB, free: 5.637 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.4822, allocations: 8.875 kB / 0.6139 GB, free: 5.629 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005338/0.4827, allocations: 262.6 kB / 0.6142 GB, free: 5.328 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.4829, allocations: 0.6809 MB / 0.6149 GB, free: 4.621 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.886e-05/0.483, allocations: 19.97 kB / 0.6149 GB, free: 4.602 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.4831, allocations: 15.44 kB / 0.6149 GB, free: 4.586 MB / 446.1 MB Notification: Performance of SimCode: time 2.043e-06/0.4831, allocations: 0 / 0.6149 GB, free: 4.586 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01456/0.4976, allocations: 4.254 MB / 0.6191 GB, free: 440 kB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/0.4979, allocations: 233.7 kB / 0.6193 GB, free: 176 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.3, allocations: 4.062 kB / 0.6193 GB, free: 172 kB / 446.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches