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.001915/0.001915, allocations: 122.8 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002053/0.002053, allocations: 197.2 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.44/1.44, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2267/0.2267, allocations: 46.13 MB / 344.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3362, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01177/0.348, allocations: 8.405 MB / 0.5388 GB, free: 6.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01316/0.3612, allocations: 11.13 MB / 0.5497 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.364e-05/0.3614, allocations: 0 / 0.5497 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.3617, allocations: 43.75 kB / 0.5497 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005986/0.3677, allocations: 1.807 MB / 0.5515 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.364e-06/0.3677, allocations: 0 / 0.5515 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.3678, allocations: 47.67 kB / 0.5515 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.3679, allocations: 7.938 kB / 0.5515 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.368, allocations: 27.84 kB / 0.5516 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.408e-05/0.3681, allocations: 27.81 kB / 0.5516 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.3681, allocations: 4 kB / 0.5516 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01225/0.3803, allocations: 6.651 MB / 0.5581 GB, free: 5.457 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.616e-05/0.3805, allocations: 0 / 0.5581 GB, free: 5.457 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.206e-05/0.3806, allocations: 27.86 kB / 0.5581 GB, free: 5.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0162/0.3968, allocations: 4.635 MB / 0.5626 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.3968, allocations: 0 / 0.5626 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3968, allocations: 0 / 0.5626 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.3968, allocations: 0 / 0.5626 GB, free: 0.7891 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.002735/0.3996, allocations: 0.5789 MB / 0.5632 GB, free: 164 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3996, allocations: 12.03 kB / 0.5632 GB, free: 152 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.3997, allocations: 34.56 kB / 0.5633 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.3998, allocations: 11.98 kB / 0.5633 GB, free: 96 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.4, allocations: 167 kB / 0.5634 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.4, allocations: 4 kB / 0.5634 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.719e-06/0.4, allocations: 7.938 kB / 0.5634 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.4002, allocations: 81.55 kB / 0.5635 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.4002, allocations: 4 kB / 0.5635 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.4002, allocations: 4 kB / 0.5635 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.4002, allocations: 3.984 kB / 0.5635 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.4003, allocations: 75.95 kB / 0.5636 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.4008, allocations: 320.7 kB / 0.5639 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.854e-05/0.4009, allocations: 46.52 kB / 0.564 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.544e-05/0.401, allocations: 36.91 kB / 0.564 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003402/0.4044, allocations: 1.846 MB / 0.5658 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.4044, allocations: 34.56 kB / 0.5658 GB, free: 13.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.4044, allocations: 0 / 0.5658 GB, free: 13.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003097/0.4048, allocations: 117.7 kB / 0.5659 GB, free: 12.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.4048, allocations: 55.39 kB / 0.566 GB, free: 12.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.959e-05/0.4049, allocations: 97.86 kB / 0.5661 GB, free: 12.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.4049, allocations: 25.7 kB / 0.5661 GB, free: 12.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.405, allocations: 88.09 kB / 0.5662 GB, free: 12.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.405, allocations: 31.73 kB / 0.5662 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.4051, allocations: 21.72 kB / 0.5662 GB, free: 12.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4052, allocations: 318.8 kB / 0.5665 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.877e-05/0.4053, allocations: 24 kB / 0.5666 GB, free: 12.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.535e-05/0.4053, allocations: 37.7 kB / 0.5666 GB, free: 12.24 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.922e-05/0.4054, allocations: 65.64 kB / 0.5667 GB, free: 12.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4054, allocations: 4 kB / 0.5667 GB, free: 12.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001752/0.4056, allocations: 93.58 kB / 0.5668 GB, free: 12.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.4056, allocations: 4 kB / 0.5668 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4057, allocations: 0 / 0.5668 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.4057, allocations: 4.031 kB / 0.5668 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.73e-05/0.4057, allocations: 8.375 kB / 0.5668 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4058, allocations: 0 / 0.5668 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.611e-05/0.4058, allocations: 4 kB / 0.5668 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.4058, allocations: 4 kB / 0.5668 GB, free: 12.05 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 9.432e-05/0.4059, allocations: 125.6 kB / 0.5669 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.406, allocations: 7.953 kB / 0.5669 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002695/0.4062, allocations: 149.6 kB / 0.5671 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001486/0.4064, allocations: 117.6 kB / 0.5672 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4064, allocations: 4 kB / 0.5672 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4064, allocations: 0 / 0.5672 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.4069, allocations: 426.6 kB / 0.5676 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.4069, allocations: 4.094 kB / 0.5676 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.448e-05/0.407, allocations: 27.92 kB / 0.5676 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.407, allocations: 3.938 kB / 0.5676 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.407, allocations: 0 / 0.5676 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.407, allocations: 4 kB / 0.5676 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4071, allocations: 0 / 0.5676 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.4073, allocations: 229.9 kB / 0.5678 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/0.4074, allocations: 85.05 kB / 0.5679 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.4074, allocations: 3.938 kB / 0.5679 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.632e-05/0.4074, allocations: 8 kB / 0.5679 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.4075, allocations: 0 / 0.5679 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.4075, allocations: 4 kB / 0.5679 GB, free: 10.76 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.718e-05/0.4075, allocations: 91.44 kB / 0.568 GB, free: 10.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4075, allocations: 0 / 0.568 GB, free: 10.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001715/0.4093, allocations: 355 kB / 0.5684 GB, free: 10.32 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.01266/0.4219, allocations: 4.369 MB / 0.5726 GB, free: 5.922 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003048/0.4223, allocations: 113.8 kB / 0.5727 GB, free: 5.805 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4223, allocations: 0 / 0.5727 GB, free: 5.805 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.218e-05/0.4224, allocations: 63.86 kB / 0.5728 GB, free: 5.742 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.4228, allocations: 48.77 kB / 0.5728 GB, free: 5.699 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.4246, allocations: 401.6 kB / 0.5732 GB, free: 5.266 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.4249, allocations: 0.7 MB / 0.5739 GB, free: 4.539 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.179e-05/0.425, allocations: 15.88 kB / 0.5739 GB, free: 4.523 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/0.4251, allocations: 31.36 kB / 0.5739 GB, free: 4.492 MB / 430.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4251, allocations: 4 kB / 0.574 GB, free: 4.488 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0489/0.474, allocations: 19.94 MB / 0.5934 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.17/9.644, allocations: 5.953 kB / 0.5934 GB, free: 0.6055 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 & /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