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.0008053/0.0008054, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009269/0.0009269, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.175/1.175, allocations: 227.7 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.176/0.176, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002103/0.0002103, allocations: 4 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08473/0.08496, allocations: 63.57 MB / 483.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.007987/0.09298, allocations: 7.945 MB / 491.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00961/0.1026, allocations: 11.31 MB / 0.4907 GB, free: 0.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.507e-05/0.1026, allocations: 0 / 0.4907 GB, free: 0.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.1028, allocations: 43.84 kB / 0.4907 GB, free: 0.707 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.1055, allocations: 1.477 MB / 0.4921 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.266e-06/0.1055, allocations: 0 / 0.4921 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.361e-05/0.1056, allocations: 43.69 kB / 0.4922 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.06e-05/0.1056, allocations: 7.984 kB / 0.4922 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.268e-05/0.1057, allocations: 23.88 kB / 0.4922 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.122e-05/0.1058, allocations: 19.91 kB / 0.4922 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.502e-06/0.1058, allocations: 4 kB / 0.4922 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01557/0.1214, allocations: 14.4 MB / 0.5063 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.1214, allocations: 3.938 kB / 0.5063 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.1215, allocations: 53.62 kB / 0.5063 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1777/0.2992, allocations: 8.155 MB / 0.5143 GB, free: 20.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2992, allocations: 0 / 0.5143 GB, free: 20.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2992, allocations: 0 / 0.5143 GB, free: 20.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.2992, allocations: 1.094 kB / 0.5143 GB, free: 20.93 MB / 382.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.004152/0.3034, allocations: 0.551 MB / 0.5149 GB, free: 20.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3034, allocations: 11.34 kB / 0.5149 GB, free: 20.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.864e-05/0.3035, allocations: 36.36 kB / 0.5149 GB, free: 20.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.198e-05/0.3036, allocations: 15.5 kB / 0.5149 GB, free: 20.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.227e-05/0.3036, allocations: 168.8 kB / 0.5151 GB, free: 20.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.3037, allocations: 4.719 kB / 0.5151 GB, free: 20.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.3037, allocations: 6.094 kB / 0.5151 GB, free: 20.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.3038, allocations: 72.98 kB / 0.5152 GB, free: 20.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.3038, allocations: 1.078 kB / 0.5152 GB, free: 20.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.3038, allocations: 6.875 kB / 0.5152 GB, free: 20.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.3038, allocations: 3.625 kB / 0.5152 GB, free: 20.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.263e-05/0.3039, allocations: 75.75 kB / 0.5152 GB, free: 20.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.3042, allocations: 323.7 kB / 0.5155 GB, free: 19.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.28e-05/0.3043, allocations: 47.28 kB / 0.5156 GB, free: 19.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.745e-05/0.3043, allocations: 33.8 kB / 0.5156 GB, free: 19.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002479/0.3068, allocations: 1.824 MB / 0.5174 GB, free: 18.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.062e-05/0.3068, allocations: 40.56 kB / 0.5174 GB, free: 18.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.3069, allocations: 0 / 0.5174 GB, free: 18.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002116/0.3071, allocations: 113.5 kB / 0.5175 GB, free: 18.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.611e-05/0.3071, allocations: 54.41 kB / 0.5176 GB, free: 18.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.879e-05/0.3071, allocations: 98.17 kB / 0.5177 GB, free: 18.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.084e-06/0.3071, allocations: 28.11 kB / 0.5177 GB, free: 18.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.996e-05/0.3072, allocations: 87.89 kB / 0.5178 GB, free: 18.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.3072, allocations: 28.64 kB / 0.5178 GB, free: 18.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/0.3072, allocations: 17.7 kB / 0.5179 GB, free: 18.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.754e-05/0.3073, allocations: 317.2 kB / 0.5182 GB, free: 17.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.326e-05/0.3073, allocations: 23.75 kB / 0.5182 GB, free: 17.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.037e-05/0.3073, allocations: 35.27 kB / 0.5182 GB, free: 17.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.16e-05/0.3074, allocations: 66.81 kB / 0.5183 GB, free: 17.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3074, allocations: 0 / 0.5183 GB, free: 17.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001316/0.3076, allocations: 103.4 kB / 0.5184 GB, free: 17.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.3076, allocations: 5.438 kB / 0.5184 GB, free: 17.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3076, allocations: 1 kB / 0.5184 GB, free: 17.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.3076, allocations: 1.156 kB / 0.5184 GB, free: 17.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.838e-05/0.3077, allocations: 10.19 kB / 0.5184 GB, free: 17.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3077, allocations: 2.125 kB / 0.5184 GB, free: 17.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.753e-05/0.3077, allocations: 7.797 kB / 0.5184 GB, free: 17.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.3077, allocations: 3.25 kB / 0.5184 GB, free: 17.81 MB / 382.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 4.629e-05/0.3078, allocations: 120.4 kB / 0.5185 GB, free: 17.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.3078, allocations: 2.094 kB / 0.5185 GB, free: 17.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.308, allocations: 155.7 kB / 0.5187 GB, free: 17.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001073/0.3081, allocations: 119.7 kB / 0.5188 GB, free: 17.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3082, allocations: 0 / 0.5188 GB, free: 17.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3082, allocations: 0 / 0.5188 GB, free: 17.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.3085, allocations: 436 kB / 0.5192 GB, free: 17.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3085, allocations: 3 kB / 0.5192 GB, free: 17.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.831e-05/0.3085, allocations: 18.58 kB / 0.5192 GB, free: 17.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3086, allocations: 4.938 kB / 0.5192 GB, free: 17.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.3086, allocations: 1.188 kB / 0.5192 GB, free: 17.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3086, allocations: 1.094 kB / 0.5192 GB, free: 17.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3086, allocations: 0 / 0.5192 GB, free: 17.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.3087, allocations: 223.1 kB / 0.5194 GB, free: 17.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.3088, allocations: 86.27 kB / 0.5195 GB, free: 17.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.3088, allocations: 8.25 kB / 0.5195 GB, free: 17.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.122e-05/0.3088, allocations: 4.062 kB / 0.5195 GB, free: 17.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.802e-05/0.3089, allocations: 6.812 kB / 0.5195 GB, free: 17.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.3089, allocations: 5.094 kB / 0.5195 GB, free: 17.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.512e-05/0.3089, allocations: 79.38 kB / 0.5196 GB, free: 16.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3089, allocations: 2.5 kB / 0.5196 GB, free: 16.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002562/0.3115, allocations: 355.5 kB / 0.52 GB, free: 16.93 MB / 382.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.01588/0.3273, allocations: 4.372 MB / 0.5242 GB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.3275, allocations: 114.7 kB / 0.5243 GB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3276, allocations: 0 / 0.5243 GB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.839e-05/0.3276, allocations: 54.48 kB / 0.5244 GB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.328, allocations: 40.48 kB / 0.5244 GB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.3296, allocations: 444.5 kB / 0.5249 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.08e-05/0.3297, allocations: 0.6931 MB / 0.5255 GB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.659e-05/0.3297, allocations: 12.69 kB / 0.5255 GB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.3298, allocations: 28.92 kB / 0.5256 GB, free: 13.54 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3298, allocations: 3 kB / 0.5256 GB, free: 13.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.3579, allocations: 19.63 MB / 0.5447 GB, free: 2.637 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001278/0.358, allocations: 198 kB / 0.5449 GB, free: 2.379 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.464/2.822, allocations: 4 kB / 0.5449 GB, free: 2.375 MB / 382.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches