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: translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00167/0.00167, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002155/0.002155, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2974/0.2974, allocations: 46.1 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 76.19 kB / 417.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1237, allocations: 62.45 MB / 480.1 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01268/0.1364, allocations: 8.424 MB / 488.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0125/0.1489, allocations: 11.07 MB / 499.6 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.149, allocations: 0 / 499.6 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.1493, allocations: 39.86 kB / 499.7 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005328/0.1547, allocations: 1.594 MB / 0.4895 GB, free: 452 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.307e-06/0.1547, allocations: 0 / 0.4895 GB, free: 452 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.1548, allocations: 51.61 kB / 0.4896 GB, free: 400 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.1549, allocations: 4 kB / 0.4896 GB, free: 396 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.155, allocations: 35.84 kB / 0.4896 GB, free: 360 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.662e-05/0.1551, allocations: 11.94 kB / 0.4896 GB, free: 348 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.1551, allocations: 0 / 0.4896 GB, free: 348 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.018/0.1731, allocations: 14.59 MB / 0.5039 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.91e-05/0.1731, allocations: 15.86 kB / 0.5039 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.165e-05/0.1732, allocations: 11.94 kB / 0.5039 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2603/0.4335, allocations: 4.297 MB / 0.5081 GB, free: 22.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.4336, allocations: 4.828 kB / 0.5081 GB, free: 22.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4336, allocations: 0 / 0.5081 GB, free: 22.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.4336, allocations: 0 / 0.5081 GB, free: 22.77 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.006096/0.4397, allocations: 0.5642 MB / 0.5086 GB, free: 22.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.4398, allocations: 7.75 kB / 0.5087 GB, free: 22.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.4399, allocations: 14.09 kB / 0.5087 GB, free: 22.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.44, allocations: 166.1 kB / 0.5088 GB, free: 22.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.4401, allocations: 4.031 kB / 0.5088 GB, free: 22.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.4401, allocations: 2.406 kB / 0.5088 GB, free: 22.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.4403, allocations: 80.78 kB / 0.5089 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.4403, allocations: 0 / 0.5089 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.4403, allocations: 3.078 kB / 0.5089 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.4403, allocations: 1.469 kB / 0.5089 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.4405, allocations: 76.61 kB / 0.509 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.4409, allocations: 319.3 kB / 0.5093 GB, free: 21.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.084e-05/0.441, allocations: 51.67 kB / 0.5093 GB, free: 21.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.957e-05/0.4411, allocations: 32.44 kB / 0.5094 GB, free: 21.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003426/0.4445, allocations: 1.851 MB / 0.5112 GB, free: 20.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.4446, allocations: 39.44 kB / 0.5112 GB, free: 20.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.775e-06/0.4446, allocations: 0 / 0.5112 GB, free: 20.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003049/0.4449, allocations: 111 kB / 0.5113 GB, free: 20.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.4449, allocations: 52.61 kB / 0.5114 GB, free: 20.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.91e-05/0.445, allocations: 102.1 kB / 0.5115 GB, free: 20.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.445, allocations: 25.7 kB / 0.5115 GB, free: 20.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.4451, allocations: 86.81 kB / 0.5116 GB, free: 20.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.4451, allocations: 30.59 kB / 0.5116 GB, free: 20.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.4451, allocations: 22.02 kB / 0.5116 GB, free: 20.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.064e-05/0.4452, allocations: 323.5 kB / 0.5119 GB, free: 19.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.214e-05/0.4453, allocations: 19.27 kB / 0.512 GB, free: 19.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.66e-05/0.4453, allocations: 36.27 kB / 0.512 GB, free: 19.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.4454, allocations: 64 kB / 0.512 GB, free: 19.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4455, allocations: 0.5156 kB / 0.512 GB, free: 19.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001658/0.4456, allocations: 98.97 kB / 0.5121 GB, free: 19.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.4457, allocations: 6.625 kB / 0.5121 GB, free: 19.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.4457, allocations: 0.6094 kB / 0.5121 GB, free: 19.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.4457, allocations: 1.5 kB / 0.5121 GB, free: 19.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.691e-05/0.4458, allocations: 15.7 kB / 0.5122 GB, free: 19.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4458, allocations: 2.25 kB / 0.5122 GB, free: 19.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.4458, allocations: 2.562 kB / 0.5122 GB, free: 19.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.4458, allocations: 3.375 kB / 0.5122 GB, free: 19.7 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 7.164e-05/0.4459, allocations: 117.1 kB / 0.5123 GB, free: 19.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.446, allocations: 7.812 kB / 0.5123 GB, free: 19.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003056/0.4463, allocations: 153.3 kB / 0.5124 GB, free: 19.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001494/0.4464, allocations: 121.1 kB / 0.5126 GB, free: 19.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4464, allocations: 1.906 kB / 0.5126 GB, free: 19.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.4465, allocations: 3.844 kB / 0.5126 GB, free: 19.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004261/0.4469, allocations: 437.5 kB / 0.513 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4469, allocations: 0 / 0.513 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.447, allocations: 26.33 kB / 0.513 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.447, allocations: 1.094 kB / 0.513 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.447, allocations: 1.938 kB / 0.513 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.447, allocations: 2.688 kB / 0.513 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.447, allocations: 0.5625 kB / 0.513 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.4472, allocations: 225.7 kB / 0.5132 GB, free: 19.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3e-05/0.4473, allocations: 80.95 kB / 0.5133 GB, free: 18.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.4473, allocations: 0 / 0.5133 GB, free: 18.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.633e-05/0.4473, allocations: 7 kB / 0.5133 GB, free: 18.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.4474, allocations: 4.812 kB / 0.5133 GB, free: 18.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.4474, allocations: 4.922 kB / 0.5133 GB, free: 18.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.033e-05/0.4474, allocations: 80.2 kB / 0.5134 GB, free: 18.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4474, allocations: 0 / 0.5134 GB, free: 18.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004271/0.4517, allocations: 354.6 kB / 0.5137 GB, free: 18.83 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.02119/0.4729, allocations: 3.718 MB / 0.5174 GB, free: 17.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003903/0.4733, allocations: 118.2 kB / 0.5175 GB, free: 16.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4733, allocations: 1.719 kB / 0.5175 GB, free: 16.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.299e-05/0.4734, allocations: 55.44 kB / 0.5175 GB, free: 16.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005575/0.474, allocations: 47.19 kB / 0.5176 GB, free: 16.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.4745, allocations: 261.6 kB / 0.5178 GB, free: 16.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.4747, allocations: 0.6917 MB / 0.5185 GB, free: 16.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.4747, allocations: 17.69 kB / 0.5185 GB, free: 16.09 MB / 382.1 MB Notification: Performance of SimCode: time 1.874e-06/0.4747, allocations: 192 / 0.5185 GB, free: 16.09 MB / 382.1 MB Notification: Performance of Templates: time 0.03341/0.5081, allocations: 19.4 MB / 0.5375 GB, free: 9.164 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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