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.001331/0.001331, allocations: 115.2 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2363/0.2363, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 79.86 kB / 482 MB, free: 4.121 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3949, allocations: 62.44 MB / 0.5316 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01319/0.4081, allocations: 8.407 MB / 0.5398 GB, free: 7.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01256/0.4207, allocations: 11.13 MB / 0.5507 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.323e-05/0.4209, allocations: 0 / 0.5507 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.4212, allocations: 51.78 kB / 0.5508 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006353/0.4275, allocations: 1.829 MB / 0.5526 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.087e-06/0.4276, allocations: 0 / 0.5526 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.4277, allocations: 51.66 kB / 0.5526 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.357e-05/0.4278, allocations: 4 kB / 0.5526 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.4279, allocations: 31.86 kB / 0.5526 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.997e-05/0.428, allocations: 19.91 kB / 0.5527 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.428, allocations: 0 / 0.5527 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01181/0.4398, allocations: 6.655 MB / 0.5592 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.4399, allocations: 11.88 kB / 0.5592 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.701e-05/0.4399, allocations: 15.94 kB / 0.5592 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01407/0.454, allocations: 4.636 MB / 0.5637 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.4541, allocations: 3.938 kB / 0.5637 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4541, allocations: 0 / 0.5637 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.4541, allocations: 0 / 0.5637 GB, free: 0.8477 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.004545/0.4587, allocations: 0.5654 MB / 0.5643 GB, free: 240 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/0.4587, allocations: 8.031 kB / 0.5643 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001993/0.4589, allocations: 11.98 kB / 0.5643 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.4591, allocations: 163.1 kB / 0.5644 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.4592, allocations: 4 kB / 0.5644 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.4592, allocations: 4 kB / 0.5644 GB, free: 8 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.4594, allocations: 77.75 kB / 0.5645 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4595, allocations: 7.875 kB / 0.5645 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.4595, allocations: 0 / 0.5645 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.4595, allocations: 7.938 kB / 0.5645 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.4596, allocations: 75.94 kB / 0.5646 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005303/0.4602, allocations: 324.6 kB / 0.5649 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.645e-05/0.4603, allocations: 42.58 kB / 0.565 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.85e-05/0.4603, allocations: 36.91 kB / 0.565 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003488/0.4638, allocations: 1.842 MB / 0.5668 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.4639, allocations: 34.56 kB / 0.5668 GB, free: 13.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.4639, allocations: 0 / 0.5668 GB, free: 13.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003088/0.4642, allocations: 117.6 kB / 0.5669 GB, free: 13.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.4642, allocations: 55.34 kB / 0.567 GB, free: 13.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.564e-05/0.4643, allocations: 97.86 kB / 0.5671 GB, free: 12.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.4644, allocations: 25.7 kB / 0.5671 GB, free: 12.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.4644, allocations: 92.05 kB / 0.5672 GB, free: 12.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.4644, allocations: 27.64 kB / 0.5672 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.4645, allocations: 25.62 kB / 0.5672 GB, free: 12.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4646, allocations: 318.8 kB / 0.5675 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-05/0.4647, allocations: 20 kB / 0.5676 GB, free: 12.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.676e-05/0.4647, allocations: 42.11 kB / 0.5676 GB, free: 12.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.894e-05/0.4648, allocations: 73.67 kB / 0.5677 GB, free: 12.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4649, allocations: 4 kB / 0.5677 GB, free: 12.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001768/0.465, allocations: 89.62 kB / 0.5678 GB, free: 12.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4651, allocations: 4 kB / 0.5678 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.4651, allocations: 0 / 0.5678 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.4651, allocations: 0 / 0.5678 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.006e-05/0.4652, allocations: 8 kB / 0.5678 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.4652, allocations: 4 kB / 0.5678 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.903e-05/0.4652, allocations: 3.938 kB / 0.5678 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.4652, allocations: 11.98 kB / 0.5678 GB, free: 12.16 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 8.584e-05/0.4653, allocations: 113.8 kB / 0.5679 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.4654, allocations: 7.906 kB / 0.5679 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.4657, allocations: 153.5 kB / 0.5681 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001412/0.4658, allocations: 110.3 kB / 0.5682 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.4658, allocations: 4 kB / 0.5682 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.4658, allocations: 0 / 0.5682 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005098/0.4663, allocations: 441.4 kB / 0.5686 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4664, allocations: 3.984 kB / 0.5686 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.96e-05/0.4664, allocations: 20 kB / 0.5686 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4664, allocations: 3.938 kB / 0.5686 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.4664, allocations: 3.938 kB / 0.5686 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4665, allocations: 0 / 0.5686 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4665, allocations: 0 / 0.5686 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.4667, allocations: 223.4 kB / 0.5688 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.4668, allocations: 92.94 kB / 0.5689 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.4668, allocations: 3.938 kB / 0.5689 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.422e-05/0.4669, allocations: 8 kB / 0.5689 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.4669, allocations: 0 / 0.5689 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.4669, allocations: 4 kB / 0.5689 GB, free: 10.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.861e-05/0.4669, allocations: 83.45 kB / 0.569 GB, free: 10.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.467, allocations: 0 / 0.569 GB, free: 10.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002146/0.4691, allocations: 347.8 kB / 0.5693 GB, free: 10.46 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.01294/0.4821, allocations: 3.727 MB / 0.573 GB, free: 6.723 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003263/0.4824, allocations: 109.6 kB / 0.5731 GB, free: 6.609 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4824, allocations: 0 / 0.5731 GB, free: 6.609 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.637e-05/0.4825, allocations: 55.92 kB / 0.5731 GB, free: 6.555 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.483, allocations: 36.02 kB / 0.5732 GB, free: 6.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005398/0.4836, allocations: 242.8 kB / 0.5734 GB, free: 6.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.4839, allocations: 0.6962 MB / 0.5741 GB, free: 5.527 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.484, allocations: 19.44 kB / 0.5741 GB, free: 5.508 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.484, allocations: 192 / 0.5741 GB, free: 5.508 MB / 430.1 MB Notification: Performance of Templates: time 0.02805/0.512, allocations: 19.39 MB / 0.593 GB, free: 2.09 MB / 446.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