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.001434/0.001435, allocations: 116.1 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001718/0.001718, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.747/1.747, allocations: 227.4 MB / 246.9 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.2238/0.2238, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 75.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3527, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01234/0.3651, allocations: 8.406 MB / 0.5392 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01288/0.3781, allocations: 11.13 MB / 0.5501 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.545e-05/0.3782, allocations: 0 / 0.5501 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.3786, allocations: 39.8 kB / 0.5501 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00744/0.386, allocations: 1.808 MB / 0.5519 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.058e-05/0.386, allocations: 4 kB / 0.5519 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.3862, allocations: 51.67 kB / 0.5519 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.3862, allocations: 0 / 0.5519 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.3864, allocations: 35.84 kB / 0.5519 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.844e-05/0.3865, allocations: 19.92 kB / 0.552 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.3865, allocations: 0 / 0.552 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0143/0.4008, allocations: 6.651 MB / 0.5585 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.4009, allocations: 11.86 kB / 0.5585 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.41e-05/0.401, allocations: 15.94 kB / 0.5585 GB, free: 5.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01574/0.4167, allocations: 4.639 MB / 0.563 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.4168, allocations: 7.875 kB / 0.563 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.4168, allocations: 0 / 0.563 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.4168, allocations: 0 / 0.563 GB, free: 0.8281 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.003033/0.4198, allocations: 0.575 MB / 0.5636 GB, free: 208 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.4199, allocations: 8.031 kB / 0.5636 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.4201, allocations: 11.98 kB / 0.5636 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.4203, allocations: 171 kB / 0.5638 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.4203, allocations: 4 kB / 0.5638 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.4203, allocations: 4 kB / 0.5638 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.4205, allocations: 77.67 kB / 0.5638 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4205, allocations: 7.875 kB / 0.5639 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.4206, allocations: 0 / 0.5639 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.4206, allocations: 4 kB / 0.5639 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.4207, allocations: 79.88 kB / 0.5639 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005755/0.4213, allocations: 316.8 kB / 0.5642 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.988e-05/0.4214, allocations: 46.58 kB / 0.5643 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.369e-05/0.4215, allocations: 36.91 kB / 0.5643 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003328/0.4248, allocations: 1.842 MB / 0.5661 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.4249, allocations: 42.59 kB / 0.5662 GB, free: 13.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.893e-06/0.4249, allocations: 0 / 0.5662 GB, free: 13.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003299/0.4252, allocations: 105.8 kB / 0.5663 GB, free: 13.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.4253, allocations: 59.28 kB / 0.5663 GB, free: 13.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.95e-05/0.4254, allocations: 97.86 kB / 0.5664 GB, free: 12.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.4254, allocations: 29.7 kB / 0.5664 GB, free: 12.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.4254, allocations: 88.03 kB / 0.5665 GB, free: 12.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.4255, allocations: 35.72 kB / 0.5666 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.4255, allocations: 25.72 kB / 0.5666 GB, free: 12.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4257, allocations: 318.8 kB / 0.5669 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.911e-05/0.4257, allocations: 20 kB / 0.5669 GB, free: 12.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.433e-05/0.4258, allocations: 37.98 kB / 0.5669 GB, free: 12.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.4259, allocations: 73.67 kB / 0.567 GB, free: 12.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4259, allocations: 0 / 0.567 GB, free: 12.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001624/0.4261, allocations: 97.58 kB / 0.5671 GB, free: 12.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.4261, allocations: 4 kB / 0.5671 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.4261, allocations: 0 / 0.5671 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.4261, allocations: 0 / 0.5671 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.4262, allocations: 8 kB / 0.5671 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.4262, allocations: 4 kB / 0.5671 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.4262, allocations: 192 / 0.5671 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.4263, allocations: 11.98 kB / 0.5671 GB, free: 12.12 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 0.0001015/0.4264, allocations: 109.8 kB / 0.5672 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.4264, allocations: 15.98 kB / 0.5672 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.4267, allocations: 153.5 kB / 0.5674 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000145/0.4269, allocations: 116.7 kB / 0.5675 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4269, allocations: 0 / 0.5675 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4269, allocations: 0 / 0.5675 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.4274, allocations: 438.2 kB / 0.5679 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4274, allocations: 3.984 kB / 0.5679 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.478e-05/0.4274, allocations: 12 kB / 0.5679 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4275, allocations: 7.938 kB / 0.5679 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.4275, allocations: 3.938 kB / 0.568 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.4275, allocations: 0 / 0.568 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4275, allocations: 4 kB / 0.568 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.4277, allocations: 223.4 kB / 0.5682 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.4278, allocations: 85.05 kB / 0.5682 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.4278, allocations: 7.938 kB / 0.5683 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.049e-05/0.4279, allocations: 8 kB / 0.5683 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.4279, allocations: 4 kB / 0.5683 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.4279, allocations: 0 / 0.5683 GB, free: 10.85 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.46e-05/0.4279, allocations: 83.27 kB / 0.5683 GB, free: 10.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4279, allocations: 0 / 0.5683 GB, free: 10.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001877/0.4298, allocations: 359 kB / 0.5687 GB, free: 10.41 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.01195/0.4418, allocations: 3.722 MB / 0.5723 GB, free: 6.676 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003035/0.4421, allocations: 117.7 kB / 0.5724 GB, free: 6.555 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4421, allocations: 0 / 0.5724 GB, free: 6.555 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.538e-05/0.4422, allocations: 55.92 kB / 0.5725 GB, free: 6.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.4427, allocations: 31.95 kB / 0.5725 GB, free: 6.469 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/0.4431, allocations: 221 kB / 0.5727 GB, free: 6.227 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.4434, allocations: 0.6885 MB / 0.5734 GB, free: 5.512 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.495e-05/0.4434, allocations: 19.86 kB / 0.5734 GB, free: 5.492 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.4435, allocations: 23.38 kB / 0.5734 GB, free: 5.469 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4435, allocations: 0 / 0.5734 GB, free: 5.469 MB / 430.1 MB Notification: Performance of Templates: time 0.02483/0.4683, allocations: 18.13 MB / 0.5911 GB, free: 3.316 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins/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