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.0008937/0.0008938, allocations: 95.97 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001297/0.001298, allocations: 201.5 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, 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.1936/0.1936, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002494/0.0002495, allocations: 7.984 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1093, allocations: 63.56 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.009455/0.1188, allocations: 7.945 MB / 491.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.1307, allocations: 11.32 MB / 0.4907 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.1308, allocations: 4 kB / 0.4907 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.131, allocations: 39.84 kB / 0.4907 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00506/0.136, allocations: 1.473 MB / 0.4921 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.612e-06/0.1361, allocations: 0 / 0.4921 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.1362, allocations: 51.66 kB / 0.4922 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.1362, allocations: 0 / 0.4922 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.1364, allocations: 35.86 kB / 0.4922 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.119e-05/0.1364, allocations: 11.94 kB / 0.4922 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.848e-06/0.1364, allocations: 3.984 kB / 0.4922 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01767/0.1541, allocations: 14.4 MB / 0.5063 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.1542, allocations: 3.938 kB / 0.5063 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.33e-05/0.1542, allocations: 49.58 kB / 0.5064 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2649/0.4191, allocations: 8.159 MB / 0.5143 GB, free: 21.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4192, allocations: 0 / 0.5143 GB, free: 21.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4192, allocations: 0 / 0.5143 GB, free: 21.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.4192, allocations: 0.9688 kB / 0.5143 GB, free: 21.24 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.004929/0.4241, allocations: 0.5539 MB / 0.5149 GB, free: 20.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.4242, allocations: 10.47 kB / 0.5149 GB, free: 20.79 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.615e-05/0.4242, allocations: 36.67 kB / 0.5149 GB, free: 20.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.4243, allocations: 14.88 kB / 0.5149 GB, free: 20.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.07e-05/0.4244, allocations: 167.3 kB / 0.5151 GB, free: 20.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.4244, allocations: 1.844 kB / 0.5151 GB, free: 20.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.4245, allocations: 8.188 kB / 0.5151 GB, free: 20.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.4246, allocations: 78.92 kB / 0.5152 GB, free: 20.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.4246, allocations: 0 / 0.5152 GB, free: 20.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.4246, allocations: 3.375 kB / 0.5152 GB, free: 20.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.4246, allocations: 4.859 kB / 0.5152 GB, free: 20.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.4247, allocations: 77.19 kB / 0.5153 GB, free: 20.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.4251, allocations: 320.1 kB / 0.5156 GB, free: 20.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.15e-05/0.4252, allocations: 45.7 kB / 0.5156 GB, free: 20.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.267e-05/0.4252, allocations: 33.12 kB / 0.5156 GB, free: 20.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002741/0.428, allocations: 1.827 MB / 0.5174 GB, free: 18.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.428, allocations: 36.25 kB / 0.5174 GB, free: 18.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.428, allocations: 0.5625 kB / 0.5174 GB, free: 18.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002381/0.4282, allocations: 111 kB / 0.5176 GB, free: 18.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.657e-05/0.4283, allocations: 52.38 kB / 0.5176 GB, free: 18.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.189e-05/0.4283, allocations: 106.2 kB / 0.5177 GB, free: 18.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.745e-06/0.4283, allocations: 26.86 kB / 0.5177 GB, free: 18.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.98e-05/0.4283, allocations: 82.14 kB / 0.5178 GB, free: 18.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.4284, allocations: 31.03 kB / 0.5178 GB, free: 18.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.4284, allocations: 15.53 kB / 0.5179 GB, free: 18.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.846e-05/0.4284, allocations: 321.2 kB / 0.5182 GB, free: 18.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.561e-05/0.4285, allocations: 23.75 kB / 0.5182 GB, free: 18.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.491e-05/0.4285, allocations: 36.02 kB / 0.5182 GB, free: 18.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.015e-05/0.4286, allocations: 67.06 kB / 0.5183 GB, free: 18.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4286, allocations: 1 kB / 0.5183 GB, free: 18.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001484/0.4288, allocations: 95.14 kB / 0.5184 GB, free: 18.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4288, allocations: 6.281 kB / 0.5184 GB, free: 18.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.4288, allocations: 5.375 kB / 0.5184 GB, free: 18.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.4288, allocations: 0 / 0.5184 GB, free: 18.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.339e-05/0.4289, allocations: 16.48 kB / 0.5184 GB, free: 18.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4289, allocations: 1.062 kB / 0.5184 GB, free: 18.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.875e-05/0.4289, allocations: 5.312 kB / 0.5184 GB, free: 18.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.429, allocations: 3.25 kB / 0.5184 GB, free: 18.12 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.854e-05/0.429, allocations: 116.1 kB / 0.5185 GB, free: 18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.4291, allocations: 2.844 kB / 0.5185 GB, free: 18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.4293, allocations: 159.7 kB / 0.5187 GB, free: 17.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001289/0.4294, allocations: 114 kB / 0.5188 GB, free: 17.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.4294, allocations: 1.031 kB / 0.5188 GB, free: 17.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4294, allocations: 1.625 kB / 0.5188 GB, free: 17.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.4298, allocations: 435.3 kB / 0.5192 GB, free: 17.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4298, allocations: 1.906 kB / 0.5192 GB, free: 17.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.218e-05/0.4299, allocations: 21.66 kB / 0.5192 GB, free: 17.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.4299, allocations: 6.656 kB / 0.5192 GB, free: 17.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.4299, allocations: 1.281 kB / 0.5192 GB, free: 17.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4299, allocations: 2.469 kB / 0.5192 GB, free: 17.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4299, allocations: 1.094 kB / 0.5192 GB, free: 17.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.4301, allocations: 222.9 kB / 0.5194 GB, free: 17.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.4301, allocations: 87.59 kB / 0.5195 GB, free: 17.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.4301, allocations: 6.75 kB / 0.5195 GB, free: 17.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.642e-05/0.4302, allocations: 1.219 kB / 0.5195 GB, free: 17.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.4302, allocations: 7.562 kB / 0.5195 GB, free: 17.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.4302, allocations: 5.391 kB / 0.5196 GB, free: 17.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.764e-05/0.4302, allocations: 78 kB / 0.5196 GB, free: 17.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4302, allocations: 0.75 kB / 0.5196 GB, free: 17.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003555/0.4338, allocations: 353.5 kB / 0.52 GB, free: 17.24 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.02129/0.4551, allocations: 4.368 MB / 0.5242 GB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000311/0.4554, allocations: 117.9 kB / 0.5243 GB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.4555, allocations: 1.219 kB / 0.5243 GB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.562e-05/0.4555, allocations: 53 kB / 0.5244 GB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005401/0.4561, allocations: 38.7 kB / 0.5244 GB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/0.4602, allocations: 447.9 kB / 0.5249 GB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.4603, allocations: 0.6918 MB / 0.5255 GB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.73e-05/0.4604, allocations: 20.3 kB / 0.5256 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.901e-05/0.4605, allocations: 25.31 kB / 0.5256 GB, free: 13.85 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4605, allocations: 1.859 kB / 0.5256 GB, free: 13.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03647/0.4969, allocations: 19.59 MB / 0.5447 GB, free: 2.988 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/0.4971, allocations: 208.2 kB / 0.5449 GB, free: 2.727 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.768/3.266, allocations: 3.938 kB / 0.5449 GB, free: 2.723 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