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.0009424/0.0009424, allocations: 101.8 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009876/0.0009876, allocations: 206.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2063/0.2063, allocations: 45.92 MB / 344 MB, free: 12.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002813/0.0002814, allocations: 8 kB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1381, allocations: 63.46 MB / 481.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01098/0.1491, allocations: 7.466 MB / 488.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.1611, allocations: 9.322 MB / 498.2 MB, free: 4.582 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.325e-05/0.1612, allocations: 4 kB / 498.2 MB, free: 4.578 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.1614, allocations: 31.89 kB / 498.2 MB, free: 4.547 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005286/0.1667, allocations: 1.417 MB / 499.6 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.735e-06/0.1667, allocations: 4 kB / 499.6 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.1668, allocations: 39.88 kB / 499.7 MB, free: 3.086 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.092e-05/0.1669, allocations: 3.984 kB / 499.7 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.167, allocations: 23.92 kB / 499.7 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.729e-05/0.1671, allocations: 15.92 kB / 499.7 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.803e-06/0.1671, allocations: 3.938 kB / 499.7 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2702/0.4373, allocations: 25.07 MB / 0.5125 GB, free: 24.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.4373, allocations: 2.797 kB / 0.5125 GB, free: 24.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.201e-05/0.4374, allocations: 37.52 kB / 0.5125 GB, free: 24.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01276/0.4502, allocations: 4.257 MB / 0.5167 GB, free: 24.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4502, allocations: 1 kB / 0.5167 GB, free: 24.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.4502, allocations: 0 / 0.5167 GB, free: 24.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.4502, allocations: 1.281 kB / 0.5167 GB, free: 24.84 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.006004/0.4562, allocations: 0.5473 MB / 0.5172 GB, free: 24.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.4563, allocations: 9 kB / 0.5172 GB, free: 24.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.4564, allocations: 17.41 kB / 0.5172 GB, free: 24.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.583e-05/0.4565, allocations: 167.3 kB / 0.5174 GB, free: 24.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.4565, allocations: 1.094 kB / 0.5174 GB, free: 24.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.4566, allocations: 5.734 kB / 0.5174 GB, free: 24.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.4567, allocations: 77.84 kB / 0.5175 GB, free: 24.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.4568, allocations: 0.75 kB / 0.5175 GB, free: 24.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.4568, allocations: 8.641 kB / 0.5175 GB, free: 24.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.4568, allocations: 3.938 kB / 0.5175 GB, free: 24.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.799e-05/0.4569, allocations: 76.06 kB / 0.5176 GB, free: 24.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.4573, allocations: 312.6 kB / 0.5179 GB, free: 23.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.787e-05/0.4574, allocations: 49.38 kB / 0.5179 GB, free: 23.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00281/0.4602, allocations: 1.823 MB / 0.5197 GB, free: 22.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.4602, allocations: 38.06 kB / 0.5197 GB, free: 22.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.4602, allocations: 0 / 0.5197 GB, free: 22.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003173/0.4606, allocations: 192.5 kB / 0.5199 GB, free: 22.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.4606, allocations: 52.77 kB / 0.52 GB, free: 22.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.298e-05/0.4607, allocations: 93.86 kB / 0.5201 GB, free: 22.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.4607, allocations: 26.89 kB / 0.5201 GB, free: 22.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.4607, allocations: 90.42 kB / 0.5202 GB, free: 22.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.4608, allocations: 24.73 kB / 0.5202 GB, free: 22.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.4608, allocations: 0.625 kB / 0.5202 GB, free: 22.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.929e-05/0.4608, allocations: 319 kB / 0.5205 GB, free: 21.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.187e-05/0.4609, allocations: 17.78 kB / 0.5205 GB, free: 21.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.236e-05/0.4609, allocations: 36 kB / 0.5205 GB, free: 21.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.971e-05/0.461, allocations: 28.16 kB / 0.5206 GB, free: 21.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.461, allocations: 3.125 kB / 0.5206 GB, free: 21.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001673/0.4612, allocations: 101 kB / 0.5207 GB, free: 21.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.4612, allocations: 6.031 kB / 0.5207 GB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4612, allocations: 0 / 0.5207 GB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.4612, allocations: 3.297 kB / 0.5207 GB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.783e-05/0.4613, allocations: 9.125 kB / 0.5207 GB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4613, allocations: 1.703 kB / 0.5207 GB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.204e-05/0.4613, allocations: 8.281 kB / 0.5207 GB, free: 21.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.4614, allocations: 6.578 kB / 0.5207 GB, free: 21.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.785e-05/0.4614, allocations: 112.8 kB / 0.5208 GB, free: 21.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.4615, allocations: 11.7 kB / 0.5208 GB, free: 21.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.4617, allocations: 146.9 kB / 0.521 GB, free: 21.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001043/0.4618, allocations: 116.9 kB / 0.5211 GB, free: 21.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4618, allocations: 1 kB / 0.5211 GB, free: 21.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.4618, allocations: 0 / 0.5211 GB, free: 21.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.4622, allocations: 438.9 kB / 0.5215 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4622, allocations: 0 / 0.5215 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.161e-05/0.4623, allocations: 17.16 kB / 0.5215 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.4623, allocations: 3.906 kB / 0.5215 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.4623, allocations: 1.094 kB / 0.5215 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4623, allocations: 2.547 kB / 0.5215 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4623, allocations: 0 / 0.5215 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.4624, allocations: 230.1 kB / 0.5217 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.4625, allocations: 83.36 kB / 0.5218 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.4625, allocations: 1.812 kB / 0.5218 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.645e-05/0.4626, allocations: 6.125 kB / 0.5218 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.008e-05/0.4626, allocations: 5.984 kB / 0.5218 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.4626, allocations: 8.531 kB / 0.5218 GB, free: 20.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.374e-05/0.4626, allocations: 78.23 kB / 0.5219 GB, free: 20.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4626, allocations: 1.594 kB / 0.5219 GB, free: 20.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004086/0.4667, allocations: 348.3 kB / 0.5222 GB, free: 20.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02142/0.4881, allocations: 3.727 MB / 0.5259 GB, free: 18.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002654/0.4884, allocations: 116.7 kB / 0.526 GB, free: 18.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4885, allocations: 0 / 0.526 GB, free: 18.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.969e-05/0.4885, allocations: 54.08 kB / 0.526 GB, free: 18.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.4889, allocations: 39.33 kB / 0.5261 GB, free: 18.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.4893, allocations: 244.4 kB / 0.5263 GB, free: 18.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.4894, allocations: 0.6921 MB / 0.527 GB, free: 18.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.406e-05/0.4894, allocations: 19.44 kB / 0.527 GB, free: 18.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.4895, allocations: 16.81 kB / 0.527 GB, free: 18.01 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4895, allocations: 0 / 0.527 GB, free: 18.01 MB / 382.1 MB Notification: Performance of Templates: time 0.02495/0.5144, allocations: 17.84 MB / 0.5445 GB, free: 4.836 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches