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.001101/0.001101, allocations: 115.5 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2058/0.2058, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 75.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3023, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01154/0.3139, allocations: 8.409 MB / 0.5387 GB, free: 7.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01145/0.3254, allocations: 11.13 MB / 0.5496 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.726e-05/0.3255, allocations: 0 / 0.5496 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.3257, allocations: 40.8 kB / 0.5496 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004963/0.3308, allocations: 1.837 MB / 0.5514 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.935e-06/0.3308, allocations: 4 kB / 0.5514 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.251e-05/0.3309, allocations: 47.66 kB / 0.5515 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.3309, allocations: 7.938 kB / 0.5515 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.3311, allocations: 31.8 kB / 0.5515 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.269e-05/0.3311, allocations: 23.92 kB / 0.5515 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.945e-06/0.3311, allocations: 0 / 0.5515 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009103/0.3402, allocations: 6.651 MB / 0.558 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.3403, allocations: 3.938 kB / 0.558 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.29e-05/0.3403, allocations: 19.94 kB / 0.558 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.351, allocations: 4.639 MB / 0.5626 GB, free: 0.875 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.351, allocations: 3.984 kB / 0.5626 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.351, allocations: 0 / 0.5626 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.351, allocations: 0 / 0.5626 GB, free: 0.8711 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.002297/0.3533, allocations: 0.5789 MB / 0.5631 GB, free: 248 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3534, allocations: 12.03 kB / 0.5631 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.476e-05/0.3534, allocations: 34.56 kB / 0.5632 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.3535, allocations: 11.98 kB / 0.5632 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.3537, allocations: 167 kB / 0.5634 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.3537, allocations: 4 kB / 0.5634 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.3537, allocations: 4 kB / 0.5634 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.3538, allocations: 89.42 kB / 0.5634 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.3539, allocations: 4 kB / 0.5634 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.3539, allocations: 4 kB / 0.5635 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.3539, allocations: 0 / 0.5635 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.292e-05/0.354, allocations: 75.95 kB / 0.5635 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.3544, allocations: 324.7 kB / 0.5638 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.693e-05/0.3544, allocations: 42.56 kB / 0.5639 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.603e-05/0.3545, allocations: 36.91 kB / 0.5639 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003002/0.3575, allocations: 1.842 MB / 0.5657 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.3575, allocations: 34.56 kB / 0.5657 GB, free: 13.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 2.895e-06/0.3576, allocations: 112 / 0.5657 GB, free: 13.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.000272/0.3578, allocations: 117.7 kB / 0.5659 GB, free: 13.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.3579, allocations: 51.41 kB / 0.5659 GB, free: 13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.401e-05/0.358, allocations: 101.8 kB / 0.566 GB, free: 12.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.358, allocations: 25.7 kB / 0.566 GB, free: 12.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.358, allocations: 88.09 kB / 0.5661 GB, free: 12.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.3581, allocations: 27.73 kB / 0.5661 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.3581, allocations: 25.72 kB / 0.5662 GB, free: 12.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.635e-05/0.3582, allocations: 318.8 kB / 0.5665 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.657e-05/0.3582, allocations: 24 kB / 0.5665 GB, free: 12.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.268e-05/0.3583, allocations: 41.64 kB / 0.5665 GB, free: 12.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.28e-05/0.3584, allocations: 54.09 kB / 0.5666 GB, free: 12.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3584, allocations: 0 / 0.5666 GB, free: 12.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001486/0.3586, allocations: 105.5 kB / 0.5667 GB, free: 12.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3586, allocations: 8 kB / 0.5667 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3586, allocations: 0 / 0.5667 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3586, allocations: 4.031 kB / 0.5667 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.625e-05/0.3587, allocations: 8 kB / 0.5667 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3587, allocations: 3.938 kB / 0.5667 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.373e-05/0.3587, allocations: 4.188 kB / 0.5667 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.3587, allocations: 0 / 0.5667 GB, free: 12.13 MB / 430.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 7.386e-05/0.3588, allocations: 121.8 kB / 0.5668 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.3589, allocations: 11.95 kB / 0.5668 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.3591, allocations: 149.5 kB / 0.567 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001262/0.3592, allocations: 121.6 kB / 0.5671 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3593, allocations: 0 / 0.5671 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.3593, allocations: 4.188 kB / 0.5671 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004297/0.3597, allocations: 428.8 kB / 0.5675 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3597, allocations: 3.984 kB / 0.5675 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-05/0.3598, allocations: 27.92 kB / 0.5675 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.3598, allocations: 3.938 kB / 0.5675 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.3598, allocations: 0 / 0.5675 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.758e-06/0.3598, allocations: 0 / 0.5675 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3598, allocations: 7.938 kB / 0.5675 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.36, allocations: 219.5 kB / 0.5678 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.3601, allocations: 85.06 kB / 0.5678 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.3601, allocations: 7.922 kB / 0.5678 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.342e-05/0.3601, allocations: 0 / 0.5678 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.3602, allocations: 8 kB / 0.5679 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.3602, allocations: 4 kB / 0.5679 GB, free: 10.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.966e-05/0.3602, allocations: 87.27 kB / 0.5679 GB, free: 10.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3602, allocations: 0 / 0.5679 GB, free: 10.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001829/0.3621, allocations: 355 kB / 0.5683 GB, free: 10.41 MB / 430.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.01167/0.3737, allocations: 4.373 MB / 0.5725 GB, free: 6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002783/0.374, allocations: 117.2 kB / 0.5727 GB, free: 5.883 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3741, allocations: 0 / 0.5727 GB, free: 5.883 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.184e-05/0.3741, allocations: 59.92 kB / 0.5727 GB, free: 5.824 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.3746, allocations: 44.3 kB / 0.5728 GB, free: 5.785 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.3766, allocations: 409.5 kB / 0.5731 GB, free: 5.344 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.3769, allocations: 0.7 MB / 0.5738 GB, free: 4.617 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.883e-05/0.377, allocations: 15.88 kB / 0.5738 GB, free: 4.602 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.43e-05/0.377, allocations: 27.42 kB / 0.5739 GB, free: 4.574 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3771, allocations: 0 / 0.5739 GB, free: 4.574 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03883/0.4159, allocations: 19.94 MB / 0.5933 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.643/9.059, allocations: 5.969 kB / 0.5934 GB, free: 0.6875 MB / 446.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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_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.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_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches