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.001449/0.001449, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001689/0.001689, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.389/1.389, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2106/0.2106, allocations: 44.19 MB / 336.8 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 63.91 kB / 470 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3899, allocations: 60.83 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.156/0.5459, allocations: 150.9 MB / 0.6658 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001814/0.5478, allocations: 1.328 MB / 0.6671 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.54e-05/0.5479, allocations: 0 / 0.6671 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.5482, allocations: 47.8 kB / 0.6671 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00302/0.5513, allocations: 1.025 MB / 0.6682 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 5.82e-06/0.5513, allocations: 0 / 0.6682 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.5514, allocations: 47.72 kB / 0.6682 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.683e-05/0.5514, allocations: 8 kB / 0.6682 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.819e-05/0.5515, allocations: 23.92 kB / 0.6682 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.578e-05/0.5516, allocations: 19.91 kB / 0.6682 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.845e-06/0.5516, allocations: 4 kB / 0.6682 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/0.5544, allocations: 1.79 MB / 0.67 GB, free: 328 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.266e-05/0.5545, allocations: 11.98 kB / 0.67 GB, free: 316 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.5545, allocations: 15.88 kB / 0.67 GB, free: 300 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.5561, allocations: 0.8811 MB / 0.6709 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5561, allocations: 7.875 kB / 0.6709 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5562, allocations: 0 / 0.6709 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.5562, allocations: 4 kB / 0.6709 GB, free: 15.4 MB / 0.5294 GB 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.0008275/0.557, allocations: 483.3 kB / 0.6714 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.5571, allocations: 8.031 kB / 0.6714 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.046e-05/0.5571, allocations: 42.73 kB / 0.6714 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.5571, allocations: 8.781 kB / 0.6714 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.686e-05/0.5572, allocations: 171.3 kB / 0.6716 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.5573, allocations: 0 / 0.6716 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.5573, allocations: 4 kB / 0.6716 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.5574, allocations: 77.55 kB / 0.6717 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.5575, allocations: 4 kB / 0.6717 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.5575, allocations: 0 / 0.6717 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.5575, allocations: 4 kB / 0.6717 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.423e-05/0.5576, allocations: 55.97 kB / 0.6717 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.5581, allocations: 300.7 kB / 0.672 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.534e-05/0.5581, allocations: 38.5 kB / 0.672 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/0.5582, allocations: 8.859 kB / 0.672 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000242/0.5584, allocations: 267.3 kB / 0.6723 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.5585, allocations: 34.56 kB / 0.6723 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.5585, allocations: 0 / 0.6723 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002009/0.5587, allocations: 57.69 kB / 0.6724 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.5587, allocations: 55.34 kB / 0.6724 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.491e-05/0.5588, allocations: 98.17 kB / 0.6725 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.5589, allocations: 25.7 kB / 0.6726 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.5589, allocations: 99.89 kB / 0.6727 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.5589, allocations: 15.75 kB / 0.6727 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.559, allocations: 25.7 kB / 0.6727 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5591, allocations: 314.8 kB / 0.673 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.14e-05/0.5592, allocations: 4 kB / 0.673 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.508e-05/0.5592, allocations: 35.53 kB / 0.673 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.335e-05/0.5593, allocations: 63.33 kB / 0.6731 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5593, allocations: 0 / 0.6731 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001201/0.5594, allocations: 73.56 kB / 0.6732 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.5595, allocations: 4 kB / 0.6732 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5595, allocations: 0 / 0.6732 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.5595, allocations: 4 kB / 0.6732 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.37e-05/0.5596, allocations: 15.92 kB / 0.6732 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.5596, allocations: 12.23 kB / 0.6732 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.271e-05/0.5596, allocations: 3.906 kB / 0.6732 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.5596, allocations: 4 kB / 0.6732 GB, free: 12.72 MB / 0.5294 GB 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.525e-05/0.5597, allocations: 113.8 kB / 0.6733 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.5598, allocations: 7.922 kB / 0.6733 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.5599, allocations: 73.06 kB / 0.6734 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.5599, allocations: 0 / 0.6734 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5599, allocations: 0 / 0.6734 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5599, allocations: 3.984 kB / 0.6734 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.5601, allocations: 165.7 kB / 0.6736 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.5601, allocations: 3.938 kB / 0.6736 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-05/0.5602, allocations: 8 kB / 0.6736 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5602, allocations: 0 / 0.6736 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.5602, allocations: 0 / 0.6736 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.5602, allocations: 0 / 0.6736 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5602, allocations: 0 / 0.6736 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.5603, allocations: 159.5 kB / 0.6737 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.5603, allocations: 88.98 kB / 0.6738 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.5604, allocations: 0 / 0.6738 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.579e-05/0.5604, allocations: 0 / 0.6738 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/0.5604, allocations: 3.938 kB / 0.6738 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.5604, allocations: 4 kB / 0.6738 GB, free: 12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.467e-05/0.5605, allocations: 87.27 kB / 0.6739 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5605, allocations: 4 kB / 0.6739 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004773/0.561, allocations: 131.9 kB / 0.674 GB, free: 11.79 MB / 0.5294 GB 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.001134/0.5621, allocations: 0.8907 MB / 0.6749 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.5622, allocations: 35.92 kB / 0.6749 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5623, allocations: 0 / 0.6749 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.399e-05/0.5623, allocations: 15.98 kB / 0.6749 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.5626, allocations: 2.188 kB / 0.6749 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006245/0.5632, allocations: 233.1 kB / 0.6752 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.5635, allocations: 0.6886 MB / 0.6758 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.855e-05/0.5635, allocations: 11.98 kB / 0.6759 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.5636, allocations: 19.42 kB / 0.6759 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of SimCode: time 2.6e-07/0.5636, allocations: 8 kB / 0.6759 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.5852, allocations: 4.493 MB / 0.6803 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.428/8.013, allocations: 12.89 kB / 0.6803 GB, free: 5.367 MB / 0.5294 GB (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