Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001846/0.001846, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003144/0.003144, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246.3 MB, free: 9.055 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 46.1 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 84.52 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1196, allocations: 62.44 MB / 479.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01322/0.1328, allocations: 8.334 MB / 487.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01514/0.148, allocations: 11.5 MB / 499.2 MB, free: 1.715 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.078e-05/0.1481, allocations: 0 / 499.2 MB, free: 1.715 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.1484, allocations: 35.88 kB / 499.2 MB, free: 1.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005532/0.154, allocations: 1.481 MB / 0.489 GB, free: 204 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.458e-06/0.154, allocations: 0 / 0.489 GB, free: 204 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.1541, allocations: 43.69 kB / 0.489 GB, free: 160 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.1542, allocations: 7.938 kB / 0.489 GB, free: 152 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.1543, allocations: 23.86 kB / 0.4891 GB, free: 128 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.1544, allocations: 23.91 kB / 0.4891 GB, free: 104 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.1544, allocations: 3.938 kB / 0.4891 GB, free: 100 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02246/0.1769, allocations: 14.39 MB / 0.5031 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.402e-05/0.177, allocations: 4 kB / 0.5032 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.787e-05/0.177, allocations: 23.86 kB / 0.5032 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2519/0.4289, allocations: 8.168 MB / 0.5112 GB, free: 22.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.429, allocations: 0 / 0.5112 GB, free: 22.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.429, allocations: 1.953 kB / 0.5112 GB, free: 22.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.429, allocations: 1.781 kB / 0.5112 GB, free: 22.56 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.006113/0.4351, allocations: 0.5606 MB / 0.5117 GB, free: 22.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.4352, allocations: 11.7 kB / 0.5117 GB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.179e-05/0.4352, allocations: 37.88 kB / 0.5117 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.4354, allocations: 15.19 kB / 0.5118 GB, free: 22.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.765e-05/0.4354, allocations: 164.5 kB / 0.5119 GB, free: 21.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.4355, allocations: 1.406 kB / 0.5119 GB, free: 21.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.4355, allocations: 6.875 kB / 0.5119 GB, free: 21.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.4356, allocations: 75.12 kB / 0.512 GB, free: 21.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.4356, allocations: 0 / 0.512 GB, free: 21.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.4357, allocations: 9.156 kB / 0.512 GB, free: 21.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.4357, allocations: 1.859 kB / 0.512 GB, free: 21.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.4358, allocations: 75.89 kB / 0.5121 GB, free: 21.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.4361, allocations: 321.1 kB / 0.5124 GB, free: 21.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.528e-05/0.4362, allocations: 45 kB / 0.5124 GB, free: 21.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.972e-05/0.4363, allocations: 36.17 kB / 0.5125 GB, free: 21.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003155/0.4394, allocations: 1.846 MB / 0.5143 GB, free: 20.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.4395, allocations: 33.03 kB / 0.5143 GB, free: 20.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.823e-06/0.4395, allocations: 0 / 0.5143 GB, free: 20.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003305/0.4398, allocations: 113.9 kB / 0.5144 GB, free: 20.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.4398, allocations: 53.16 kB / 0.5145 GB, free: 20.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.21e-05/0.4399, allocations: 102.3 kB / 0.5146 GB, free: 19.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.4399, allocations: 26.2 kB / 0.5146 GB, free: 19.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/0.44, allocations: 85.02 kB / 0.5147 GB, free: 19.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.44, allocations: 35.12 kB / 0.5147 GB, free: 19.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.44, allocations: 23.75 kB / 0.5147 GB, free: 19.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.114e-05/0.4401, allocations: 319.5 kB / 0.515 GB, free: 19.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.929e-05/0.4401, allocations: 19.94 kB / 0.515 GB, free: 19.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-05/0.4402, allocations: 39.69 kB / 0.5151 GB, free: 19.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.491e-05/0.4403, allocations: 65.69 kB / 0.5151 GB, free: 19.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4403, allocations: 0 / 0.5151 GB, free: 19.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001527/0.4405, allocations: 98.02 kB / 0.5152 GB, free: 19.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.4405, allocations: 4.375 kB / 0.5152 GB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.4405, allocations: 1.438 kB / 0.5152 GB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.4405, allocations: 1 kB / 0.5152 GB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.1e-05/0.4406, allocations: 10.45 kB / 0.5153 GB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.4406, allocations: 1.5 kB / 0.5153 GB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.471e-05/0.4406, allocations: 2.438 kB / 0.5153 GB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.4407, allocations: 11.62 kB / 0.5153 GB, free: 19.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.95e-05/0.4407, allocations: 112.9 kB / 0.5154 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.4408, allocations: 9.641 kB / 0.5154 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002839/0.4411, allocations: 156.8 kB / 0.5155 GB, free: 19.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001786/0.4413, allocations: 117.6 kB / 0.5156 GB, free: 19.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4413, allocations: 2.094 kB / 0.5156 GB, free: 19.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4413, allocations: 0 / 0.5156 GB, free: 19.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.4417, allocations: 432.4 kB / 0.5161 GB, free: 18.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.4417, allocations: 0 / 0.5161 GB, free: 18.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.36e-05/0.4418, allocations: 24.55 kB / 0.5161 GB, free: 18.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.4418, allocations: 5.531 kB / 0.5161 GB, free: 18.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.4419, allocations: 1.5 kB / 0.5161 GB, free: 18.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4419, allocations: 4.938 kB / 0.5161 GB, free: 18.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4419, allocations: 1.469 kB / 0.5161 GB, free: 18.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.4421, allocations: 219.7 kB / 0.5163 GB, free: 18.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.4421, allocations: 85.11 kB / 0.5164 GB, free: 18.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.4421, allocations: 6.062 kB / 0.5164 GB, free: 18.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.767e-05/0.4422, allocations: 1.812 kB / 0.5164 GB, free: 18.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.4422, allocations: 8.891 kB / 0.5164 GB, free: 18.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.4422, allocations: 2.312 kB / 0.5164 GB, free: 18.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.905e-05/0.4422, allocations: 84.33 kB / 0.5165 GB, free: 18.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4422, allocations: 1.094 kB / 0.5165 GB, free: 18.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004415/0.4467, allocations: 350.7 kB / 0.5168 GB, free: 18.55 MB / 382.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: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0222/0.4689, allocations: 4.376 MB / 0.5211 GB, free: 16.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002836/0.4692, allocations: 115.3 kB / 0.5212 GB, free: 16.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4692, allocations: 0 / 0.5212 GB, free: 16.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.691e-05/0.4693, allocations: 62 kB / 0.5213 GB, free: 16.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/0.4698, allocations: 37.88 kB / 0.5213 GB, free: 16.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/0.4732, allocations: 424.6 kB / 0.5217 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.4733, allocations: 0.6987 MB / 0.5224 GB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.246e-05/0.4734, allocations: 15.53 kB / 0.5224 GB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.4734, allocations: 27.52 kB / 0.5224 GB, free: 15.18 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4734, allocations: 1.312 kB / 0.5224 GB, free: 15.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03537/0.5088, allocations: 19.72 MB / 0.5417 GB, free: 5.082 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001291/0.509, allocations: 202.6 kB / 0.5419 GB, free: 4.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.973/3.482, allocations: 0 / 0.5419 GB, free: 4.82 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches