Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001148/0.001148, 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.001181/0.001181, allocations: 187.1 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.322/1.322, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.1944/0.1944, allocations: 44.17 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.89 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3054, allocations: 60.83 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01113/0.3165, allocations: 8.32 MB / 0.5265 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01198/0.3286, allocations: 11.09 MB / 0.5374 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.218e-05/0.3287, allocations: 0 / 0.5374 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.3289, allocations: 36.14 kB / 0.5374 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00571/0.3347, allocations: 1.793 MB / 0.5391 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.252e-06/0.3347, allocations: 0 / 0.5391 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.3348, allocations: 49.22 kB / 0.5392 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.3349, allocations: 7.328 kB / 0.5392 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.335, allocations: 24.05 kB / 0.5392 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.698e-05/0.3351, allocations: 16.92 kB / 0.5392 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.835e-06/0.3351, allocations: 3.938 kB / 0.5392 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01067/0.3458, allocations: 6.633 MB / 0.5457 GB, free: 104 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.3458, allocations: 4 kB / 0.5457 GB, free: 100 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.72e-05/0.3459, allocations: 15.88 kB / 0.5457 GB, free: 84 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01045/0.3563, allocations: 4.624 MB / 0.5502 GB, free: 11.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3564, allocations: 0 / 0.5502 GB, free: 11.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.719e-06/0.3564, allocations: 3.984 kB / 0.5503 GB, free: 11.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.3564, allocations: 3.938 kB / 0.5503 GB, free: 11.45 MB / 414.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.002267/0.3587, allocations: 0.5537 MB / 0.5508 GB, free: 10.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3587, allocations: 8.031 kB / 0.5508 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.3588, allocations: 38.5 kB / 0.5508 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.3589, allocations: 15.89 kB / 0.5509 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.359, allocations: 159.1 kB / 0.551 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.359, allocations: 8 kB / 0.551 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.359, allocations: 0 / 0.551 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.3592, allocations: 85.59 kB / 0.5511 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3592, allocations: 0 / 0.5511 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.3592, allocations: 0 / 0.5511 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3592, allocations: 4 kB / 0.5511 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.3594, allocations: 71.91 kB / 0.5512 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.3598, allocations: 316.7 kB / 0.5515 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.401e-05/0.3599, allocations: 50.56 kB / 0.5515 GB, free: 9.988 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.87e-05/0.3599, allocations: 32.92 kB / 0.5516 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002831/0.3628, allocations: 1.709 MB / 0.5532 GB, free: 8.004 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.3628, allocations: 34.59 kB / 0.5533 GB, free: 7.961 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.3628, allocations: 0 / 0.5533 GB, free: 7.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003346/0.3632, allocations: 113.7 kB / 0.5534 GB, free: 7.844 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.3632, allocations: 51.69 kB / 0.5534 GB, free: 7.781 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.46e-05/0.3633, allocations: 101.8 kB / 0.5535 GB, free: 7.672 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.3633, allocations: 29.83 kB / 0.5535 GB, free: 7.637 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/0.3634, allocations: 87.98 kB / 0.5536 GB, free: 7.547 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.3634, allocations: 35.53 kB / 0.5537 GB, free: 7.512 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.3635, allocations: 21.72 kB / 0.5537 GB, free: 7.484 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.3636, allocations: 322.8 kB / 0.554 GB, free: 7.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.879e-05/0.3636, allocations: 20 kB / 0.554 GB, free: 7.141 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.482e-05/0.3637, allocations: 33.7 kB / 0.554 GB, free: 7.102 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.085e-05/0.3638, allocations: 65.66 kB / 0.5541 GB, free: 7.031 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3638, allocations: 0 / 0.5541 GB, free: 7.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001671/0.364, allocations: 93.61 kB / 0.5542 GB, free: 6.934 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.364, allocations: 4 kB / 0.5542 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.364, allocations: 4 kB / 0.5542 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.364, allocations: 0 / 0.5542 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.585e-05/0.3641, allocations: 11.94 kB / 0.5542 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3641, allocations: 0 / 0.5542 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.314e-05/0.3641, allocations: 7.906 kB / 0.5542 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.3642, allocations: 8.031 kB / 0.5542 GB, free: 6.898 MB / 414.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 8.565e-05/0.3643, allocations: 117.7 kB / 0.5543 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.3643, allocations: 4 kB / 0.5543 GB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.3646, allocations: 157.4 kB / 0.5545 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001324/0.3647, allocations: 113.7 kB / 0.5546 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3647, allocations: 0 / 0.5546 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3648, allocations: 0 / 0.5546 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005049/0.3653, allocations: 434.2 kB / 0.555 GB, free: 6.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.3653, allocations: 0 / 0.555 GB, free: 6.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.917e-05/0.3654, allocations: 20.19 kB / 0.555 GB, free: 5.996 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.3654, allocations: 3.938 kB / 0.555 GB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.3654, allocations: 7.984 kB / 0.555 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3654, allocations: 0 / 0.555 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3654, allocations: 0 / 0.555 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.3656, allocations: 219.6 kB / 0.5552 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.3657, allocations: 89.02 kB / 0.5553 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.3657, allocations: 4.031 kB / 0.5553 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.315e-05/0.3658, allocations: 7.938 kB / 0.5553 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.3658, allocations: 7.984 kB / 0.5554 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.3658, allocations: 4 kB / 0.5554 GB, free: 5.625 MB / 414.1 MB Notification: Performance of sorting global known variables: time 2.993e-05/0.3659, allocations: 75.28 kB / 0.5554 GB, free: 5.551 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3659, allocations: 0 / 0.5554 GB, free: 5.551 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001883/0.3677, allocations: 347.8 kB / 0.5558 GB, free: 5.211 MB / 414.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.01243/0.3802, allocations: 4.358 MB / 0.56 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003038/0.3805, allocations: 113.7 kB / 0.5601 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.3805, allocations: 0 / 0.5601 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.602e-05/0.3806, allocations: 55.92 kB / 0.5602 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.3811, allocations: 48.3 kB / 0.5602 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.383, allocations: 382.1 kB / 0.5606 GB, free: 192 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.3832, allocations: 0.6963 MB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.466e-05/0.3833, allocations: 15.92 kB / 0.5613 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.3834, allocations: 23.44 kB / 0.5613 GB, free: 15.43 MB / 430.1 MB Notification: Performance of SimCode: time 1.563e-06/0.3834, allocations: 0 / 0.5613 GB, free: 15.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04019/0.4236, allocations: 19.76 MB / 0.5806 GB, free: 11.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.6/9.024, allocations: 1.031 kB / 0.5806 GB, free: 11.73 MB / 446.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches