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.00168/0.00168, allocations: 106 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00217/0.00217, allocations: 205.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2073/0.2073, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 75.88 kB / 482 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.297, allocations: 62.44 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01097/0.308, allocations: 8.4 MB / 0.5398 GB, free: 7.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.3195, allocations: 11.13 MB / 0.5507 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.3196, allocations: 0 / 0.5507 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.3198, allocations: 43.78 kB / 0.5508 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005173/0.325, allocations: 1.802 MB / 0.5525 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.287e-06/0.325, allocations: 7.938 kB / 0.5525 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.742e-05/0.3251, allocations: 51.66 kB / 0.5526 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.3252, allocations: 8 kB / 0.5526 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.3253, allocations: 23.86 kB / 0.5526 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.006e-05/0.3254, allocations: 31.84 kB / 0.5526 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.807e-06/0.3254, allocations: 0 / 0.5526 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01032/0.3357, allocations: 6.647 MB / 0.5591 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.3358, allocations: 7.938 kB / 0.5591 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.865e-05/0.3358, allocations: 15.94 kB / 0.5591 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01349/0.3493, allocations: 4.644 MB / 0.5637 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.3494, allocations: 0 / 0.5637 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3494, allocations: 0 / 0.5637 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.3494, allocations: 0 / 0.5637 GB, free: 0.8672 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.00257/0.352, allocations: 0.5614 MB / 0.5642 GB, free: 264 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.352, allocations: 8.031 kB / 0.5642 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.3522, allocations: 11.98 kB / 0.5642 GB, free: 244 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.3523, allocations: 163.1 kB / 0.5644 GB, free: 40 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3523, allocations: 0 / 0.5644 GB, free: 40 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.3523, allocations: 11.94 kB / 0.5644 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.3525, allocations: 81.61 kB / 0.5645 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3525, allocations: 3.938 kB / 0.5645 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.3525, allocations: 3.938 kB / 0.5645 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3526, allocations: 0 / 0.5645 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.3527, allocations: 75.95 kB / 0.5646 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.3531, allocations: 320.7 kB / 0.5649 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.145e-05/0.3532, allocations: 50.52 kB / 0.5649 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.3532, allocations: 36.89 kB / 0.565 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003148/0.3564, allocations: 1.839 MB / 0.5668 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.3564, allocations: 38.56 kB / 0.5668 GB, free: 13.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.3564, allocations: 4 kB / 0.5668 GB, free: 13.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002893/0.3567, allocations: 105.6 kB / 0.5669 GB, free: 13.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.3568, allocations: 59.5 kB / 0.567 GB, free: 13.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.141e-05/0.3569, allocations: 101.8 kB / 0.5671 GB, free: 12.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.3569, allocations: 29.98 kB / 0.5671 GB, free: 12.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.3569, allocations: 84.05 kB / 0.5672 GB, free: 12.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.357, allocations: 27.64 kB / 0.5672 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.357, allocations: 33.56 kB / 0.5672 GB, free: 12.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3571, allocations: 318.8 kB / 0.5675 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.515e-05/0.3572, allocations: 20 kB / 0.5675 GB, free: 12.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.966e-05/0.3572, allocations: 37.7 kB / 0.5676 GB, free: 12.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.65e-05/0.3573, allocations: 65.64 kB / 0.5676 GB, free: 12.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3573, allocations: 0 / 0.5676 GB, free: 12.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001546/0.3575, allocations: 93.62 kB / 0.5677 GB, free: 12.22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3575, allocations: 8 kB / 0.5677 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3575, allocations: 0 / 0.5677 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3576, allocations: 0 / 0.5677 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.773e-05/0.3576, allocations: 8 kB / 0.5677 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3576, allocations: 0 / 0.5677 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.58e-05/0.3577, allocations: 12.12 kB / 0.5678 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.3577, allocations: 3.984 kB / 0.5678 GB, free: 12.19 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 9.091e-05/0.3578, allocations: 117.7 kB / 0.5679 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.3579, allocations: 15.94 kB / 0.5679 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.3581, allocations: 149.7 kB / 0.568 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001446/0.3583, allocations: 114.2 kB / 0.5681 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3583, allocations: 0 / 0.5681 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.3583, allocations: 0 / 0.5681 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.3587, allocations: 441.4 kB / 0.5686 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3588, allocations: 0 / 0.5686 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.267e-05/0.3588, allocations: 15.98 kB / 0.5686 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.3588, allocations: 8 kB / 0.5686 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.026e-06/0.3588, allocations: 7.875 kB / 0.5686 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3588, allocations: 0 / 0.5686 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3589, allocations: 0 / 0.5686 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.3591, allocations: 219.4 kB / 0.5688 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.683e-05/0.3591, allocations: 92.94 kB / 0.5689 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.3591, allocations: 4.219 kB / 0.5689 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.366e-05/0.3592, allocations: 4 kB / 0.5689 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.3592, allocations: 8 kB / 0.5689 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.3593, allocations: 7.938 kB / 0.5689 GB, free: 10.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.259e-05/0.3593, allocations: 83.27 kB / 0.569 GB, free: 10.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3593, allocations: 0 / 0.569 GB, free: 10.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001919/0.3612, allocations: 347.8 kB / 0.5693 GB, free: 10.48 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.01163/0.3729, allocations: 3.719 MB / 0.573 GB, free: 6.746 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002876/0.3732, allocations: 109.7 kB / 0.5731 GB, free: 6.633 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3732, allocations: 4 kB / 0.5731 GB, free: 6.629 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.298e-05/0.3733, allocations: 55.92 kB / 0.5731 GB, free: 6.574 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.3737, allocations: 38.31 kB / 0.5732 GB, free: 6.539 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004119/0.3742, allocations: 254.7 kB / 0.5734 GB, free: 6.258 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.3744, allocations: 0.6885 MB / 0.5741 GB, free: 5.543 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.3745, allocations: 15.44 kB / 0.5741 GB, free: 5.527 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3745, allocations: 0 / 0.5741 GB, free: 5.527 MB / 430.1 MB Notification: Performance of Templates: time 0.0228/0.3973, allocations: 19.38 MB / 0.593 GB, free: 2.113 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