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.001214/0.001214, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001529/0.001529, allocations: 192 kB / 18.55 MB, free: 4.566 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.341/1.341, allocations: 222.9 MB / 242.3 MB, free: 15.19 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.2127/0.2127, allocations: 44.17 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 67.61 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1202, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3993/0.5196, allocations: 150.9 MB / 0.6058 GB, free: 9.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.5217, allocations: 1.323 MB / 0.6071 GB, free: 8.359 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.509e-05/0.5218, allocations: 0 / 0.6071 GB, free: 8.359 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.5221, allocations: 39.8 kB / 0.6071 GB, free: 8.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003703/0.5259, allocations: 1.023 MB / 0.6081 GB, free: 7.324 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.814e-06/0.5259, allocations: 0 / 0.6081 GB, free: 7.324 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.526, allocations: 51.72 kB / 0.6081 GB, free: 7.273 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.144e-05/0.5261, allocations: 8 kB / 0.6081 GB, free: 7.266 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.782e-05/0.5261, allocations: 19.92 kB / 0.6082 GB, free: 7.246 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.513e-05/0.5262, allocations: 23.91 kB / 0.6082 GB, free: 7.223 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.5263, allocations: 4 kB / 0.6082 GB, free: 7.219 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003391/0.5296, allocations: 1.75 MB / 0.6099 GB, free: 5.469 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.733e-05/0.5297, allocations: 11.92 kB / 0.6099 GB, free: 5.457 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.5298, allocations: 15.94 kB / 0.6099 GB, free: 5.441 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002871/0.5327, allocations: 0.8849 MB / 0.6108 GB, free: 4.555 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.5327, allocations: 4 kB / 0.6108 GB, free: 4.551 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.5327, allocations: 0 / 0.6108 GB, free: 4.551 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.5327, allocations: 0 / 0.6108 GB, free: 4.551 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.001284/0.534, allocations: 487.2 kB / 0.6113 GB, free: 4.027 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.5341, allocations: 12.03 kB / 0.6113 GB, free: 4.016 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.77e-05/0.5342, allocations: 32.5 kB / 0.6113 GB, free: 3.977 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.5342, allocations: 9.625 kB / 0.6113 GB, free: 3.969 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.5344, allocations: 175.6 kB / 0.6115 GB, free: 3.758 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.5344, allocations: 8 kB / 0.6115 GB, free: 3.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.5344, allocations: 0 / 0.6115 GB, free: 3.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.5346, allocations: 72.3 kB / 0.6116 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.5346, allocations: 0 / 0.6116 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.5346, allocations: 8 kB / 0.6116 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.5347, allocations: 7.984 kB / 0.6116 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.5348, allocations: 47.97 kB / 0.6116 GB, free: 3.613 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/0.5354, allocations: 300.5 kB / 0.6119 GB, free: 3.273 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.137e-05/0.5355, allocations: 38.56 kB / 0.6119 GB, free: 3.227 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.032e-05/0.5355, allocations: 8.859 kB / 0.6119 GB, free: 3.215 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002569/0.5358, allocations: 263.4 kB / 0.6122 GB, free: 2.902 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.5358, allocations: 42.5 kB / 0.6122 GB, free: 2.852 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.5358, allocations: 0 / 0.6122 GB, free: 2.852 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001965/0.536, allocations: 57.73 kB / 0.6123 GB, free: 2.789 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.5361, allocations: 55.34 kB / 0.6123 GB, free: 2.723 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.372e-05/0.5362, allocations: 109.8 kB / 0.6125 GB, free: 2.605 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.5362, allocations: 25.7 kB / 0.6125 GB, free: 2.574 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.5362, allocations: 91.89 kB / 0.6126 GB, free: 2.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.5363, allocations: 23.73 kB / 0.6126 GB, free: 2.457 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.5363, allocations: 17.72 kB / 0.6126 GB, free: 2.434 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.5365, allocations: 314.8 kB / 0.6129 GB, free: 2.117 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.837e-05/0.5366, allocations: 11.98 kB / 0.6129 GB, free: 2.105 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.505e-05/0.5366, allocations: 31.44 kB / 0.6129 GB, free: 2.062 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.183e-05/0.5367, allocations: 51.36 kB / 0.613 GB, free: 2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5367, allocations: 0 / 0.613 GB, free: 2 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001409/0.5368, allocations: 73.92 kB / 0.6131 GB, free: 1.922 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.5369, allocations: 12.03 kB / 0.6131 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.5369, allocations: 4.047 kB / 0.6131 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.5369, allocations: 3.984 kB / 0.6131 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.572e-05/0.537, allocations: 12 kB / 0.6131 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.537, allocations: 1.641 kB / 0.6131 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.453e-05/0.5371, allocations: 11.91 kB / 0.6131 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.5371, allocations: 0 / 0.6131 GB, free: 1.879 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 9.657e-05/0.5372, allocations: 121.8 kB / 0.6132 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.5373, allocations: 7.938 kB / 0.6132 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/0.5374, allocations: 65.17 kB / 0.6133 GB, free: 1.676 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.5375, allocations: 0 / 0.6133 GB, free: 1.676 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5375, allocations: 0 / 0.6133 GB, free: 1.676 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.5375, allocations: 7.938 kB / 0.6133 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.5377, allocations: 159.5 kB / 0.6135 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5377, allocations: 0 / 0.6135 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.5377, allocations: 4 kB / 0.6135 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.5378, allocations: 7.938 kB / 0.6135 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.5378, allocations: 7.984 kB / 0.6135 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.5378, allocations: 0 / 0.6135 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5378, allocations: 0 / 0.6135 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.5379, allocations: 151.4 kB / 0.6136 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.538, allocations: 84.98 kB / 0.6137 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.538, allocations: 0 / 0.6137 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.48e-05/0.5381, allocations: 4 kB / 0.6137 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.5381, allocations: 15.92 kB / 0.6137 GB, free: 1.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.5382, allocations: 0 / 0.6137 GB, free: 1.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.571e-05/0.5382, allocations: 79.28 kB / 0.6138 GB, free: 1.082 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5382, allocations: 0 / 0.6138 GB, free: 1.082 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007686/0.539, allocations: 131.9 kB / 0.6139 GB, free: 0.9531 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.001557/0.5406, allocations: 0.9084 MB / 0.6148 GB, free: 28 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.5407, allocations: 35.97 kB / 0.6148 GB, free: 15.99 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5407, allocations: 0 / 0.6148 GB, free: 15.99 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.195e-05/0.5408, allocations: 8 kB / 0.6148 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.5411, allocations: 11.69 kB / 0.6149 GB, free: 15.97 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006686/0.5418, allocations: 234.8 kB / 0.6151 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.5421, allocations: 0.6807 MB / 0.6157 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.619e-05/0.5421, allocations: 23.86 kB / 0.6158 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/0.5422, allocations: 15.44 kB / 0.6158 GB, free: 14.96 MB / 462.1 MB Notification: Performance of SimCode: time 3.71e-07/0.5422, allocations: 0 / 0.6158 GB, free: 14.96 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.5641, allocations: 4.447 MB / 0.6201 GB, free: 10.56 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.573, allocations: 8.641 kB / 0.6201 GB, free: 10.56 MB / 462.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