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.001037/0.001037, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001316, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2053/0.2053, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.00159, allocations: 75.88 kB / 480.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3102, 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.01127/0.3215, allocations: 8.406 MB / 0.5387 GB, free: 7.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01124/0.3328, allocations: 11.13 MB / 0.5496 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.545e-05/0.3329, allocations: 1.406 kB / 0.5496 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.3331, allocations: 44.08 kB / 0.5496 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004743/0.3379, allocations: 1.828 MB / 0.5514 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.701e-06/0.3379, allocations: 0 / 0.5514 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.219e-05/0.338, allocations: 51.66 kB / 0.5515 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.3381, allocations: 11.92 kB / 0.5515 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.3382, allocations: 27.88 kB / 0.5515 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.558e-05/0.3382, allocations: 27.84 kB / 0.5515 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.196e-06/0.3383, allocations: 0 / 0.5515 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01001/0.3483, allocations: 6.651 MB / 0.558 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.3483, allocations: 3.938 kB / 0.558 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.365e-05/0.3484, allocations: 19.94 kB / 0.558 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01301/0.3614, allocations: 4.639 MB / 0.5626 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3615, allocations: 0 / 0.5626 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3615, allocations: 0 / 0.5626 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.3615, allocations: 4 kB / 0.5626 GB, free: 0.8906 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.002483/0.364, allocations: 0.575 MB / 0.5631 GB, free: 272 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.364, allocations: 16.02 kB / 0.5631 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.002e-05/0.3641, allocations: 38.5 kB / 0.5632 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.3642, allocations: 8 kB / 0.5632 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.3643, allocations: 171.1 kB / 0.5634 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3643, allocations: 0 / 0.5634 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.3644, allocations: 8 kB / 0.5634 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.3645, allocations: 81.44 kB / 0.5634 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.3645, allocations: 4 kB / 0.5634 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.3645, allocations: 4 kB / 0.5634 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3645, allocations: 0 / 0.5634 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.3647, allocations: 71.97 kB / 0.5635 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.3651, allocations: 324.7 kB / 0.5638 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.481e-05/0.3652, allocations: 46.5 kB / 0.5639 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.341e-05/0.3652, allocations: 36.92 kB / 0.5639 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003047/0.3683, allocations: 1.838 MB / 0.5657 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.3683, allocations: 42.48 kB / 0.5657 GB, free: 13.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.3683, allocations: 4 kB / 0.5657 GB, free: 13.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002852/0.3686, allocations: 105.7 kB / 0.5658 GB, free: 13.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.3687, allocations: 55.41 kB / 0.5659 GB, free: 13.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.566e-05/0.3687, allocations: 101.8 kB / 0.566 GB, free: 12.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.3688, allocations: 25.7 kB / 0.566 GB, free: 12.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.3688, allocations: 88.09 kB / 0.5661 GB, free: 12.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.3688, allocations: 27.73 kB / 0.5661 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.3689, allocations: 25.72 kB / 0.5662 GB, free: 12.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.361e-05/0.369, allocations: 318.8 kB / 0.5665 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.936e-05/0.369, allocations: 23.98 kB / 0.5665 GB, free: 12.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.79e-05/0.3691, allocations: 41.64 kB / 0.5665 GB, free: 12.35 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.358e-05/0.3692, allocations: 58.03 kB / 0.5666 GB, free: 12.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3692, allocations: 4 kB / 0.5666 GB, free: 12.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001494/0.3693, allocations: 97.58 kB / 0.5667 GB, free: 12.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3694, allocations: 7.984 kB / 0.5667 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3694, allocations: 4.031 kB / 0.5667 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3694, allocations: 0 / 0.5667 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.51e-05/0.3695, allocations: 8 kB / 0.5667 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3695, allocations: 0 / 0.5667 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.3695, allocations: 4 kB / 0.5667 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.3695, allocations: 7.938 kB / 0.5667 GB, free: 12.15 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 8.747e-05/0.3696, allocations: 113.8 kB / 0.5668 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.3697, allocations: 7.953 kB / 0.5668 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.3699, allocations: 157.9 kB / 0.567 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001397/0.37, allocations: 121.6 kB / 0.5671 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3701, allocations: 4.062 kB / 0.5671 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3701, allocations: 4 kB / 0.5671 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004429/0.3705, allocations: 430.2 kB / 0.5675 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3705, allocations: 0 / 0.5675 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.275e-05/0.3706, allocations: 19.98 kB / 0.5675 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3706, allocations: 3.938 kB / 0.5675 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.3706, allocations: 8 kB / 0.5675 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3706, allocations: 0 / 0.5675 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3706, allocations: 0 / 0.5675 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.3708, allocations: 228.9 kB / 0.5678 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.3709, allocations: 81.06 kB / 0.5678 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.3709, allocations: 3.938 kB / 0.5678 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.395e-05/0.371, allocations: 4 kB / 0.5678 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.112e-05/0.371, allocations: 7.984 kB / 0.5678 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.371, allocations: 8 kB / 0.5679 GB, free: 10.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.199e-05/0.371, allocations: 79.28 kB / 0.5679 GB, free: 10.78 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3711, allocations: 0 / 0.5679 GB, free: 10.78 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001745/0.3728, allocations: 358.9 kB / 0.5683 GB, free: 10.43 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.01166/0.3845, allocations: 4.369 MB / 0.5725 GB, free: 6.027 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003138/0.3848, allocations: 117.6 kB / 0.5727 GB, free: 5.906 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.3848, allocations: 0 / 0.5727 GB, free: 5.906 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.759e-05/0.3849, allocations: 59.92 kB / 0.5727 GB, free: 5.848 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.3854, allocations: 35.89 kB / 0.5727 GB, free: 5.812 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.387, allocations: 409.5 kB / 0.5731 GB, free: 5.371 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.3872, allocations: 0.7 MB / 0.5738 GB, free: 4.645 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.141e-05/0.3873, allocations: 15.88 kB / 0.5738 GB, free: 4.629 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.3873, allocations: 35.42 kB / 0.5739 GB, free: 4.594 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3874, allocations: 0 / 0.5739 GB, free: 4.594 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04216/0.4295, allocations: 19.94 MB / 0.5933 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.644/9.073, allocations: 8.969 kB / 0.5933 GB, free: 0.7109 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