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.0009427/0.0009427, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001124, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.7 MB / 247.5 MB, free: 9.496 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2037/0.2037, allocations: 46.19 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002695/0.0002696, allocations: 8 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1226, allocations: 63.56 MB / 483.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.0111/0.1337, allocations: 7.941 MB / 491.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01275/0.1465, allocations: 11.32 MB / 0.4912 GB, free: 0.793 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.666e-05/0.1466, allocations: 0 / 0.4912 GB, free: 0.793 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.1468, allocations: 31.88 kB / 0.4912 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004771/0.1516, allocations: 1.474 MB / 0.4927 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.891e-06/0.1516, allocations: 0 / 0.4927 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.889e-05/0.1517, allocations: 51.67 kB / 0.4927 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.1518, allocations: 4 kB / 0.4927 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.1519, allocations: 35.84 kB / 0.4928 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.894e-05/0.1519, allocations: 11.94 kB / 0.4928 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.475e-06/0.152, allocations: 0 / 0.4928 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02016/0.1721, allocations: 14.4 MB / 0.5068 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.907e-05/0.1722, allocations: 11.92 kB / 0.5068 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.321e-05/0.1723, allocations: 41.64 kB / 0.5069 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2373/0.4096, allocations: 4.282 MB / 0.5111 GB, free: 21.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.4097, allocations: 2.844 kB / 0.5111 GB, free: 21.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.4097, allocations: 1.062 kB / 0.5111 GB, free: 21.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.4097, allocations: 0 / 0.5111 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.006297/0.416, allocations: 0.5555 MB / 0.5116 GB, free: 20.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.4161, allocations: 9.531 kB / 0.5116 GB, free: 20.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.4162, allocations: 15.88 kB / 0.5116 GB, free: 20.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.411e-05/0.4164, allocations: 165.7 kB / 0.5118 GB, free: 20.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.4164, allocations: 2.75 kB / 0.5118 GB, free: 20.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.4164, allocations: 3.344 kB / 0.5118 GB, free: 20.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.4166, allocations: 77.17 kB / 0.5119 GB, free: 20.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.4166, allocations: 1.719 kB / 0.5119 GB, free: 20.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.4166, allocations: 3.375 kB / 0.5119 GB, free: 20.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.4166, allocations: 4.375 kB / 0.5119 GB, free: 20.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.4167, allocations: 75.48 kB / 0.512 GB, free: 20.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.4172, allocations: 322.1 kB / 0.5123 GB, free: 20.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.472e-05/0.4173, allocations: 43.47 kB / 0.5123 GB, free: 20.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.843e-05/0.4174, allocations: 34.89 kB / 0.5123 GB, free: 20.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003196/0.4206, allocations: 1.831 MB / 0.5141 GB, free: 18.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.4206, allocations: 32.33 kB / 0.5142 GB, free: 18.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.4206, allocations: 4.938 kB / 0.5142 GB, free: 18.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002779/0.4209, allocations: 114.8 kB / 0.5143 GB, free: 18.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.4209, allocations: 52.53 kB / 0.5143 GB, free: 18.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.823e-05/0.421, allocations: 102.7 kB / 0.5144 GB, free: 18.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.421, allocations: 27.02 kB / 0.5144 GB, free: 18.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.794e-05/0.421, allocations: 86.86 kB / 0.5145 GB, free: 18.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.4211, allocations: 28 kB / 0.5146 GB, free: 18.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.4211, allocations: 16.94 kB / 0.5146 GB, free: 18.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.762e-05/0.4211, allocations: 323.9 kB / 0.5149 GB, free: 18.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.644e-05/0.4212, allocations: 18.5 kB / 0.5149 GB, free: 18.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.595e-05/0.4212, allocations: 37.2 kB / 0.5149 GB, free: 18.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.173e-05/0.4213, allocations: 63.52 kB / 0.515 GB, free: 18.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4213, allocations: 0 / 0.515 GB, free: 18.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000159/0.4215, allocations: 96.61 kB / 0.5151 GB, free: 18.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.4215, allocations: 8.531 kB / 0.5151 GB, free: 18.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.4215, allocations: 1.797 kB / 0.5151 GB, free: 18.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.4216, allocations: 5.562 kB / 0.5151 GB, free: 18.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.933e-05/0.4216, allocations: 8.938 kB / 0.5151 GB, free: 18.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4216, allocations: 2.094 kB / 0.5151 GB, free: 18.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.283e-05/0.4217, allocations: 3.281 kB / 0.5151 GB, free: 18.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.4217, allocations: 3 kB / 0.5151 GB, free: 18.17 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 5.978e-05/0.4218, allocations: 115.7 kB / 0.5152 GB, free: 18.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.4218, allocations: 7.453 kB / 0.5152 GB, free: 18.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.4221, allocations: 158.5 kB / 0.5154 GB, free: 18.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001378/0.4222, allocations: 118.8 kB / 0.5155 GB, free: 17.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4222, allocations: 0 / 0.5155 GB, free: 17.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.4222, allocations: 3.031 kB / 0.5155 GB, free: 17.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004564/0.4227, allocations: 435.9 kB / 0.5159 GB, free: 17.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.4227, allocations: 4.594 kB / 0.5159 GB, free: 17.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.513e-05/0.4228, allocations: 15.17 kB / 0.5159 GB, free: 17.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4228, allocations: 1 kB / 0.5159 GB, free: 17.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.4228, allocations: 3.578 kB / 0.5159 GB, free: 17.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4228, allocations: 5.969 kB / 0.5159 GB, free: 17.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4228, allocations: 0.7031 kB / 0.5159 GB, free: 17.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.423, allocations: 227.4 kB / 0.5162 GB, free: 17.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.4231, allocations: 81.28 kB / 0.5162 GB, free: 17.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.4231, allocations: 6.141 kB / 0.5162 GB, free: 17.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.556e-05/0.4231, allocations: 0 / 0.5162 GB, free: 17.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.42e-05/0.4232, allocations: 6.109 kB / 0.5163 GB, free: 17.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.4232, allocations: 7.047 kB / 0.5163 GB, free: 17.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.233e-05/0.4232, allocations: 86.64 kB / 0.5163 GB, free: 17.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4232, allocations: 0 / 0.5163 GB, free: 17.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003937/0.4272, allocations: 350.2 kB / 0.5167 GB, free: 17.3 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.02211/0.4493, allocations: 3.721 MB / 0.5203 GB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002711/0.4496, allocations: 111.6 kB / 0.5204 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4496, allocations: 0 / 0.5204 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.135e-05/0.4497, allocations: 55.86 kB / 0.5205 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005067/0.4502, allocations: 40.69 kB / 0.5205 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004617/0.4507, allocations: 291.1 kB / 0.5208 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.4508, allocations: 0.6951 MB / 0.5215 GB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.4509, allocations: 16.61 kB / 0.5215 GB, free: 14.55 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4509, allocations: 2.734 kB / 0.5215 GB, free: 14.55 MB / 382.1 MB Notification: Performance of Templates: time 0.02828/0.4792, allocations: 19.36 MB / 0.5404 GB, free: 7.52 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