Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 113.8 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001926/0.001926, allocations: 183.1 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2647/0.2647, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 59.91 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3633, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01162/0.3749, allocations: 8.322 MB / 0.527 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.3867, allocations: 11.09 MB / 0.5378 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.3868, allocations: 0 / 0.5378 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.387, allocations: 52.2 kB / 0.5379 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004685/0.3917, allocations: 1.783 MB / 0.5396 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.402e-06/0.3918, allocations: 0 / 0.5396 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.381e-05/0.3919, allocations: 54.47 kB / 0.5397 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.014e-05/0.3919, allocations: 2.344 kB / 0.5397 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.3921, allocations: 32.17 kB / 0.5397 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.805e-05/0.3921, allocations: 16.08 kB / 0.5397 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.624e-06/0.3921, allocations: 5.312 kB / 0.5397 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01059/0.4027, allocations: 6.634 MB / 0.5462 GB, free: 56 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.4028, allocations: 4 kB / 0.5462 GB, free: 52 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.375e-05/0.4028, allocations: 11.94 kB / 0.5462 GB, free: 40 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.013/0.4158, allocations: 4.616 MB / 0.5507 GB, free: 11.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4159, allocations: 3.984 kB / 0.5507 GB, free: 11.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.4159, allocations: 4 kB / 0.5507 GB, free: 11.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.4159, allocations: 7.938 kB / 0.5507 GB, free: 11.4 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.003098/0.419, allocations: 0.5537 MB / 0.5513 GB, free: 10.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.4191, allocations: 8.031 kB / 0.5513 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.4192, allocations: 11.89 kB / 0.5513 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.4194, allocations: 163.1 kB / 0.5515 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.4194, allocations: 0 / 0.5515 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.4194, allocations: 15.92 kB / 0.5515 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.4196, allocations: 69.67 kB / 0.5515 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.4196, allocations: 3.938 kB / 0.5515 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.4197, allocations: 12 kB / 0.5516 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.4197, allocations: 3.984 kB / 0.5516 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.4198, allocations: 75.95 kB / 0.5516 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005719/0.4204, allocations: 312.7 kB / 0.5519 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.249e-05/0.4205, allocations: 42.52 kB / 0.552 GB, free: 9.992 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.982e-05/0.4206, allocations: 44.91 kB / 0.552 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003032/0.4236, allocations: 1.701 MB / 0.5537 GB, free: 8.004 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.4236, allocations: 42.56 kB / 0.5537 GB, free: 7.953 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.4237, allocations: 0 / 0.5537 GB, free: 7.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003193/0.424, allocations: 105.7 kB / 0.5538 GB, free: 7.844 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.424, allocations: 51.69 kB / 0.5539 GB, free: 7.781 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.925e-05/0.4241, allocations: 97.84 kB / 0.554 GB, free: 7.676 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.4242, allocations: 25.7 kB / 0.554 GB, free: 7.645 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.535e-05/0.4242, allocations: 91.98 kB / 0.5541 GB, free: 7.551 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.4243, allocations: 23.56 kB / 0.5541 GB, free: 7.527 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.4243, allocations: 33.83 kB / 0.5541 GB, free: 7.488 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.4245, allocations: 314.8 kB / 0.5544 GB, free: 7.172 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.381e-05/0.4245, allocations: 23.98 kB / 0.5545 GB, free: 7.148 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-05/0.4246, allocations: 37.7 kB / 0.5545 GB, free: 7.105 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.4247, allocations: 57.66 kB / 0.5545 GB, free: 7.043 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4247, allocations: 0 / 0.5545 GB, free: 7.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000167/0.4249, allocations: 97.62 kB / 0.5546 GB, free: 6.941 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.4249, allocations: 8 kB / 0.5546 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.425, allocations: 0 / 0.5546 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.425, allocations: 0 / 0.5546 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.4251, allocations: 11.98 kB / 0.5547 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.4251, allocations: 3.938 kB / 0.5547 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.885e-05/0.4251, allocations: 7.906 kB / 0.5547 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.4251, allocations: 0 / 0.5547 GB, free: 6.91 MB / 414.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.15e-05/0.4252, allocations: 121.7 kB / 0.5548 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.4253, allocations: 4.031 kB / 0.5548 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.4255, allocations: 149.6 kB / 0.5549 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001386/0.4257, allocations: 121.6 kB / 0.555 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4257, allocations: 0 / 0.555 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4257, allocations: 3.984 kB / 0.555 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005102/0.4262, allocations: 434.2 kB / 0.5555 GB, free: 6.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4262, allocations: 0 / 0.5555 GB, free: 6.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.177e-05/0.4263, allocations: 12 kB / 0.5555 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4263, allocations: 4 kB / 0.5555 GB, free: 6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.4263, allocations: 7.938 kB / 0.5555 GB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4263, allocations: 4 kB / 0.5555 GB, free: 5.988 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4263, allocations: 0 / 0.5555 GB, free: 5.988 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.4266, allocations: 223.5 kB / 0.5557 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.4266, allocations: 77.11 kB / 0.5558 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.4266, allocations: 4.031 kB / 0.5558 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.151e-05/0.4267, allocations: 7.938 kB / 0.5558 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.4267, allocations: 7.984 kB / 0.5558 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.4267, allocations: 8.25 kB / 0.5558 GB, free: 5.633 MB / 414.1 MB Notification: Performance of sorting global known variables: time 2.845e-05/0.4267, allocations: 75.28 kB / 0.5559 GB, free: 5.559 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4268, allocations: 4 kB / 0.5559 GB, free: 5.555 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002197/0.429, allocations: 347.7 kB / 0.5562 GB, free: 5.215 MB / 414.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.01249/0.4415, allocations: 3.707 MB / 0.5598 GB, free: 1.492 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000281/0.4418, allocations: 113.8 kB / 0.5599 GB, free: 1.375 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4418, allocations: 0 / 0.5599 GB, free: 1.375 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.044e-05/0.4419, allocations: 55.92 kB / 0.56 GB, free: 1.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.4424, allocations: 40.06 kB / 0.56 GB, free: 1.281 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.4428, allocations: 204.8 kB / 0.5602 GB, free: 1.055 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.4431, allocations: 0.6923 MB / 0.5609 GB, free: 344 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.347e-05/0.4431, allocations: 15.92 kB / 0.5609 GB, free: 328 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.4432, allocations: 15.44 kB / 0.5609 GB, free: 312 kB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4432, allocations: 0 / 0.5609 GB, free: 312 kB / 414.1 MB Notification: Performance of Templates: time 0.025/0.4682, allocations: 17.98 MB / 0.5785 GB, free: 14.3 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches