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.001482/0.001482, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001573/0.001573, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.331/1.331, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.1993/0.1993, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3124, 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.0111/0.3235, allocations: 8.317 MB / 0.5265 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01166/0.3352, allocations: 11.09 MB / 0.5374 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.253e-05/0.3353, allocations: 4 kB / 0.5374 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.3356, allocations: 41.3 kB / 0.5374 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006396/0.3421, allocations: 1.815 MB / 0.5392 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.237e-05/0.3421, allocations: 0 / 0.5392 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.3422, allocations: 50.23 kB / 0.5392 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.3423, allocations: 2.438 kB / 0.5392 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.3424, allocations: 31.97 kB / 0.5393 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.921e-05/0.3425, allocations: 12.38 kB / 0.5393 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.3425, allocations: 5.094 kB / 0.5393 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01117/0.3537, allocations: 6.634 MB / 0.5458 GB, free: 68 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.3537, allocations: 0 / 0.5458 GB, free: 68 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.452e-05/0.3538, allocations: 23.86 kB / 0.5458 GB, free: 44 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01174/0.3656, allocations: 4.62 MB / 0.5503 GB, free: 11.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.3656, allocations: 0 / 0.5503 GB, free: 11.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.028e-06/0.3656, allocations: 8 kB / 0.5503 GB, free: 11.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.3656, allocations: 3.938 kB / 0.5503 GB, free: 11.41 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.002724/0.3684, allocations: 0.5673 MB / 0.5509 GB, free: 10.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3684, allocations: 8.031 kB / 0.5509 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.656e-05/0.3685, allocations: 42.5 kB / 0.5509 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.3686, allocations: 19.94 kB / 0.5509 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.127e-05/0.3687, allocations: 159.1 kB / 0.5511 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.3687, allocations: 0 / 0.5511 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.3687, allocations: 4 kB / 0.5511 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.3689, allocations: 85.61 kB / 0.5512 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3689, allocations: 0 / 0.5512 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-06/0.3689, allocations: 0 / 0.5512 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3689, allocations: 0 / 0.5512 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.3691, allocations: 83.88 kB / 0.5512 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.3695, allocations: 320.7 kB / 0.5515 GB, free: 9.977 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.02e-05/0.3696, allocations: 42.58 kB / 0.5516 GB, free: 9.926 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.869e-05/0.3696, allocations: 36.91 kB / 0.5516 GB, free: 9.887 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002909/0.3725, allocations: 1.708 MB / 0.5533 GB, free: 7.938 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.3726, allocations: 38.59 kB / 0.5533 GB, free: 7.891 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.3726, allocations: 0 / 0.5533 GB, free: 7.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002872/0.3729, allocations: 105.7 kB / 0.5534 GB, free: 7.781 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.3729, allocations: 51.41 kB / 0.5535 GB, free: 7.719 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.704e-05/0.373, allocations: 97.8 kB / 0.5536 GB, free: 7.613 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.373, allocations: 29.7 kB / 0.5536 GB, free: 7.578 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.3731, allocations: 88.08 kB / 0.5537 GB, free: 7.488 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.3731, allocations: 31.88 kB / 0.5537 GB, free: 7.457 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.3731, allocations: 21.7 kB / 0.5537 GB, free: 7.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.3732, allocations: 322.8 kB / 0.554 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.362e-05/0.3733, allocations: 16 kB / 0.5541 GB, free: 7.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.71e-05/0.3733, allocations: 33.7 kB / 0.5541 GB, free: 7.051 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.022e-05/0.3734, allocations: 73.95 kB / 0.5542 GB, free: 6.973 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3734, allocations: 4 kB / 0.5542 GB, free: 6.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001531/0.3736, allocations: 89.62 kB / 0.5542 GB, free: 6.875 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3736, allocations: 4 kB / 0.5542 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3736, allocations: 0 / 0.5542 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3736, allocations: 0 / 0.5542 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.651e-05/0.3737, allocations: 11.94 kB / 0.5543 GB, free: 6.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.3737, allocations: 7.984 kB / 0.5543 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.213e-05/0.3738, allocations: 11.89 kB / 0.5543 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.3738, allocations: 4 kB / 0.5543 GB, free: 6.836 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.144e-05/0.3739, allocations: 117.8 kB / 0.5544 GB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.3739, allocations: 4 kB / 0.5544 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.3742, allocations: 157.5 kB / 0.5545 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000126/0.3743, allocations: 109.7 kB / 0.5547 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3743, allocations: 0 / 0.5547 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3743, allocations: 4 kB / 0.5547 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/0.3748, allocations: 426.3 kB / 0.5551 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.3748, allocations: 3.984 kB / 0.5551 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-05/0.3748, allocations: 23.92 kB / 0.5551 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3748, allocations: 4.188 kB / 0.5551 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.3749, allocations: 4 kB / 0.5551 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3749, allocations: 4 kB / 0.5551 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3749, allocations: 0 / 0.5551 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.3751, allocations: 223.4 kB / 0.5553 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/0.3751, allocations: 89.03 kB / 0.5554 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.3751, allocations: 3.938 kB / 0.5554 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.459e-05/0.3752, allocations: 8 kB / 0.5554 GB, free: 5.566 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.3752, allocations: 4 kB / 0.5554 GB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.3752, allocations: 4 kB / 0.5554 GB, free: 5.559 MB / 414.1 MB Notification: Performance of sorting global known variables: time 2.592e-05/0.3753, allocations: 75.28 kB / 0.5555 GB, free: 5.484 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3753, allocations: 0 / 0.5555 GB, free: 5.484 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002006/0.3773, allocations: 351 kB / 0.5558 GB, free: 5.141 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.01219/0.3895, allocations: 4.376 MB / 0.5601 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.3898, allocations: 109.7 kB / 0.5602 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3898, allocations: 0 / 0.5602 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.748e-05/0.3899, allocations: 51.92 kB / 0.5603 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.3904, allocations: 44.14 kB / 0.5603 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.3922, allocations: 389.2 kB / 0.5607 GB, free: 108 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.3925, allocations: 0.6924 MB / 0.5613 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.543e-05/0.3925, allocations: 16.12 kB / 0.5614 GB, free: 15.37 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.3926, allocations: 27.42 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of SimCode: time 2.515e-06/0.3926, allocations: 0 / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04132/0.4339, allocations: 19.72 MB / 0.5806 GB, free: 11.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.771/9.205, allocations: 9.031 kB / 0.5806 GB, free: 11.68 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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