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.001086/0.001087, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001119/0.001119, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2247/0.2247, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 79.16 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1149, allocations: 62.42 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01126/0.1262, allocations: 8.418 MB / 488.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.1383, allocations: 11.13 MB / 499.7 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/0.1384, allocations: 0 / 499.7 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.1387, allocations: 43.78 kB / 499.7 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00518/0.1439, allocations: 1.797 MB / 0.4897 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.906e-06/0.1439, allocations: 4 kB / 0.4897 GB, free: 15.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.654e-05/0.144, allocations: 51.66 kB / 0.4898 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.1441, allocations: 8 kB / 0.4898 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.1442, allocations: 27.86 kB / 0.4898 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.969e-05/0.1443, allocations: 19.92 kB / 0.4899 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.825e-06/0.1443, allocations: 0 / 0.4899 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009544/0.1538, allocations: 6.635 MB / 0.4963 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.1539, allocations: 15.88 kB / 0.4963 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.1539, allocations: 15.94 kB / 0.4964 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01238/0.1663, allocations: 4.636 MB / 0.5009 GB, free: 4.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.1664, allocations: 3.984 kB / 0.5009 GB, free: 4.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1664, allocations: 0 / 0.5009 GB, free: 4.293 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.1664, allocations: 0 / 0.5009 GB, free: 4.293 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.002325/0.1687, allocations: 0.5614 MB / 0.5014 GB, free: 3.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1688, allocations: 8.031 kB / 0.5014 GB, free: 3.676 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.1688, allocations: 38.56 kB / 0.5015 GB, free: 3.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.1689, allocations: 7.984 kB / 0.5015 GB, free: 3.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.1691, allocations: 167 kB / 0.5017 GB, free: 3.418 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1691, allocations: 8 kB / 0.5017 GB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.1691, allocations: 0 / 0.5017 GB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.1692, allocations: 85.59 kB / 0.5017 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1693, allocations: 0 / 0.5017 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1693, allocations: 4 kB / 0.5017 GB, free: 3.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.1693, allocations: 0 / 0.5017 GB, free: 3.316 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.925e-05/0.1694, allocations: 87.77 kB / 0.5018 GB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.1698, allocations: 308.8 kB / 0.5021 GB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.216e-05/0.1699, allocations: 50.56 kB / 0.5022 GB, free: 2.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.101e-05/0.1699, allocations: 32.91 kB / 0.5022 GB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003126/0.1731, allocations: 1.846 MB / 0.504 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.1731, allocations: 38.5 kB / 0.504 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.1731, allocations: 0 / 0.504 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002798/0.1734, allocations: 113.6 kB / 0.5042 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.1734, allocations: 55.34 kB / 0.5042 GB, free: 460 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/0.1735, allocations: 97.8 kB / 0.5043 GB, free: 352 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1735, allocations: 29.81 kB / 0.5043 GB, free: 316 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.1736, allocations: 99.97 kB / 0.5044 GB, free: 212 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.1736, allocations: 23.66 kB / 0.5044 GB, free: 188 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.1737, allocations: 25.61 kB / 0.5045 GB, free: 156 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.1963/0.37, allocations: 318 kB / 0.5048 GB, free: 39.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.088e-05/0.3701, allocations: 16.36 kB / 0.5048 GB, free: 39.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.858e-05/0.3702, allocations: 35.67 kB / 0.5048 GB, free: 39.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.3703, allocations: 63.52 kB / 0.5049 GB, free: 39.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3703, allocations: 0.5312 kB / 0.5049 GB, free: 39.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002463/0.3706, allocations: 95.91 kB / 0.505 GB, free: 39.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.3706, allocations: 10.55 kB / 0.505 GB, free: 39.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.3706, allocations: 0 / 0.505 GB, free: 39.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.3707, allocations: 1.719 kB / 0.505 GB, free: 39.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.777e-05/0.3708, allocations: 11.31 kB / 0.505 GB, free: 39.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3708, allocations: 4.938 kB / 0.505 GB, free: 39.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.928e-05/0.3708, allocations: 5.438 kB / 0.505 GB, free: 39.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.3709, allocations: 3.625 kB / 0.505 GB, free: 39.92 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 8.375e-05/0.371, allocations: 113.7 kB / 0.5051 GB, free: 39.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.831e-05/0.371, allocations: 5.781 kB / 0.5051 GB, free: 39.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.3713, allocations: 149.9 kB / 0.5053 GB, free: 39.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001652/0.3715, allocations: 118.4 kB / 0.5054 GB, free: 39.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.3715, allocations: 5.062 kB / 0.5054 GB, free: 39.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3715, allocations: 1.922 kB / 0.5054 GB, free: 39.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004621/0.372, allocations: 439.7 kB / 0.5058 GB, free: 39.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.372, allocations: 0 / 0.5058 GB, free: 39.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.985e-05/0.3721, allocations: 14.7 kB / 0.5058 GB, free: 39.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3721, allocations: 4.844 kB / 0.5058 GB, free: 39.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3721, allocations: 2.625 kB / 0.5058 GB, free: 39.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.3721, allocations: 1.062 kB / 0.5058 GB, free: 39.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3721, allocations: 2.516 kB / 0.5058 GB, free: 39.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.3723, allocations: 224.9 kB / 0.506 GB, free: 39.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.3724, allocations: 80.38 kB / 0.5061 GB, free: 39.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.3724, allocations: 4.031 kB / 0.5061 GB, free: 39.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.8e-05/0.3725, allocations: 3.406 kB / 0.5061 GB, free: 39.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/0.3725, allocations: 10.34 kB / 0.5061 GB, free: 39.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.3725, allocations: 3.219 kB / 0.5061 GB, free: 39.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.351e-05/0.3725, allocations: 82.41 kB / 0.5062 GB, free: 39.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3726, allocations: 0 / 0.5062 GB, free: 39.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002007/0.3746, allocations: 358 kB / 0.5066 GB, free: 39.12 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.01759/0.3922, allocations: 4.377 MB / 0.5108 GB, free: 36.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002954/0.3925, allocations: 118.1 kB / 0.5109 GB, free: 36.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3925, allocations: 1.719 kB / 0.5109 GB, free: 36.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.432e-05/0.3926, allocations: 57.67 kB / 0.511 GB, free: 36.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.3931, allocations: 44.98 kB / 0.511 GB, free: 36.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.3948, allocations: 403.1 kB / 0.5114 GB, free: 36.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.3949, allocations: 0.6957 MB / 0.5121 GB, free: 35.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.297e-05/0.395, allocations: 14.44 kB / 0.5121 GB, free: 35.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.3951, allocations: 25.06 kB / 0.5121 GB, free: 35.8 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3951, allocations: 1.719 kB / 0.5122 GB, free: 35.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04571/0.4408, allocations: 19.91 MB / 0.5316 GB, free: 26.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/8.552, allocations: 5.266 kB / 0.5316 GB, free: 26.39 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