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.001274/0.001274, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001177/0.001177, allocations: 183.8 kB / 18.72 MB, free: 4.336 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.377/1.377, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2163/0.2163, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 67.83 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.336, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.0107/0.3467, allocations: 8.321 MB / 0.5265 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01213/0.3589, allocations: 11.09 MB / 0.5374 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.98e-05/0.359, allocations: 0 / 0.5374 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001987/0.3592, allocations: 43.58 kB / 0.5374 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005269/0.3645, allocations: 1.785 MB / 0.5392 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.374e-06/0.3645, allocations: 1.125 kB / 0.5392 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.3646, allocations: 45.8 kB / 0.5392 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.634e-05/0.3647, allocations: 6.297 kB / 0.5392 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.3648, allocations: 28.7 kB / 0.5392 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.3649, allocations: 20.17 kB / 0.5392 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.3649, allocations: 4.938 kB / 0.5393 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01258/0.3775, allocations: 6.628 MB / 0.5457 GB, free: 92 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.3775, allocations: 7.984 kB / 0.5457 GB, free: 84 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.482e-05/0.3776, allocations: 11.94 kB / 0.5457 GB, free: 72 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.3915, allocations: 4.623 MB / 0.5503 GB, free: 11.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.3915, allocations: 0 / 0.5503 GB, free: 11.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3916, allocations: 3.938 kB / 0.5503 GB, free: 11.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3916, allocations: 4 kB / 0.5503 GB, free: 11.43 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.002389/0.394, allocations: 0.5661 MB / 0.5508 GB, free: 10.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.394, allocations: 16.02 kB / 0.5508 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.095e-05/0.3941, allocations: 34.56 kB / 0.5509 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.3942, allocations: 7.953 kB / 0.5509 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.3943, allocations: 171 kB / 0.551 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3943, allocations: 0 / 0.551 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.3943, allocations: 8 kB / 0.551 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.3945, allocations: 81.59 kB / 0.5511 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.3945, allocations: 4 kB / 0.5511 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.3945, allocations: 0 / 0.5511 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.3945, allocations: 7.984 kB / 0.5511 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.3947, allocations: 71.97 kB / 0.5512 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.3951, allocations: 320.7 kB / 0.5515 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.75e-05/0.3952, allocations: 46.56 kB / 0.5516 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.3953, allocations: 36.92 kB / 0.5516 GB, free: 9.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00294/0.3982, allocations: 1.701 MB / 0.5533 GB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.3983, allocations: 42.56 kB / 0.5533 GB, free: 7.922 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.3983, allocations: 0 / 0.5533 GB, free: 7.922 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002751/0.3985, allocations: 105.7 kB / 0.5534 GB, free: 7.812 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.3986, allocations: 59.39 kB / 0.5534 GB, free: 7.742 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.679e-05/0.3987, allocations: 89.86 kB / 0.5535 GB, free: 7.645 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.3987, allocations: 25.7 kB / 0.5536 GB, free: 7.613 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.3987, allocations: 88.09 kB / 0.5536 GB, free: 7.523 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.3988, allocations: 31.86 kB / 0.5537 GB, free: 7.492 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.3988, allocations: 21.72 kB / 0.5537 GB, free: 7.465 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.3989, allocations: 318.8 kB / 0.554 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.121e-05/0.399, allocations: 23.98 kB / 0.554 GB, free: 7.121 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-05/0.3991, allocations: 41.64 kB / 0.5541 GB, free: 7.074 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.542e-05/0.3991, allocations: 53.84 kB / 0.5541 GB, free: 7.016 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3992, allocations: 8 kB / 0.5541 GB, free: 7.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001557/0.3993, allocations: 93.62 kB / 0.5542 GB, free: 6.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3993, allocations: 11.98 kB / 0.5542 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3994, allocations: 0 / 0.5542 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.3994, allocations: 3.938 kB / 0.5542 GB, free: 6.895 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.491e-05/0.3994, allocations: 8 kB / 0.5542 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3994, allocations: 3.938 kB / 0.5542 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.156e-05/0.3995, allocations: 12.27 kB / 0.5542 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.3995, allocations: 0 / 0.5542 GB, free: 6.871 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 0.000102/0.3996, allocations: 125.8 kB / 0.5544 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.3997, allocations: 4 kB / 0.5544 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.3999, allocations: 149.5 kB / 0.5545 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000143/0.4001, allocations: 121.6 kB / 0.5546 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.4001, allocations: 0 / 0.5546 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4001, allocations: 0 / 0.5546 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.4005, allocations: 430.3 kB / 0.555 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4006, allocations: 0 / 0.555 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.271e-05/0.4006, allocations: 16.19 kB / 0.5551 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4006, allocations: 3.938 kB / 0.5551 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.4006, allocations: 11.92 kB / 0.5551 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4007, allocations: 4 kB / 0.5551 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4007, allocations: 3.938 kB / 0.5551 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.4009, allocations: 215.5 kB / 0.5553 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.4009, allocations: 85.05 kB / 0.5554 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.401, allocations: 7.938 kB / 0.5554 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.986e-05/0.401, allocations: 4 kB / 0.5554 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.401, allocations: 7.984 kB / 0.5554 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.4011, allocations: 4 kB / 0.5554 GB, free: 5.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.653e-05/0.4011, allocations: 79.28 kB / 0.5555 GB, free: 5.512 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4011, allocations: 0 / 0.5555 GB, free: 5.512 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001699/0.4028, allocations: 343 kB / 0.5558 GB, free: 5.176 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.01226/0.4151, allocations: 4.376 MB / 0.5601 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002969/0.4154, allocations: 109.6 kB / 0.5602 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4154, allocations: 0 / 0.5602 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.969e-05/0.4155, allocations: 60.05 kB / 0.5602 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.416, allocations: 43.98 kB / 0.5603 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.4174, allocations: 389.2 kB / 0.5606 GB, free: 136 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.4177, allocations: 0.6924 MB / 0.5613 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.216e-05/0.4178, allocations: 20.11 kB / 0.5613 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.4179, allocations: 31.38 kB / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4179, allocations: 3.938 kB / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04642/0.4643, allocations: 19.71 MB / 0.5806 GB, free: 11.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.901/9.366, allocations: 3.609 kB / 0.5806 GB, free: 11.71 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