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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 97.34 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3388/0.3388, allocations: 44.13 MB / 386.1 MB, free: 37.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 51.92 kB / 457.7 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3159, allocations: 60.81 MB / 0.5064 GB, free: 38.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.009885/0.3258, allocations: 8.239 MB / 0.5144 GB, free: 33.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009763/0.3356, allocations: 11.47 MB / 0.5256 GB, free: 25.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.54e-05/0.3357, allocations: 0 / 0.5256 GB, free: 25.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.336, allocations: 34.66 kB / 0.5257 GB, free: 25.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004266/0.3403, allocations: 1.458 MB / 0.5271 GB, free: 24.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.448e-06/0.3403, allocations: 0 / 0.5271 GB, free: 24.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 8.186e-05/0.3404, allocations: 46.8 kB / 0.5271 GB, free: 24.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.3405, allocations: 3 kB / 0.5271 GB, free: 24.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.3406, allocations: 22.94 kB / 0.5272 GB, free: 24.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.568e-05/0.3406, allocations: 20.05 kB / 0.5272 GB, free: 24.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.293e-06/0.3407, allocations: 0 / 0.5272 GB, free: 24.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01971/0.3604, allocations: 14.38 MB / 0.5412 GB, free: 21.85 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.3604, allocations: 5.25 kB / 0.5412 GB, free: 21.85 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.904e-05/0.3605, allocations: 12.53 kB / 0.5412 GB, free: 21.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02647/0.387, allocations: 8.161 MB / 0.5492 GB, free: 18.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.387, allocations: 0 / 0.5492 GB, free: 18.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.387, allocations: 5.312 kB / 0.5492 GB, free: 18.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.387, allocations: 0 / 0.5492 GB, free: 18.24 MB / 378.7 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.005537/0.3926, allocations: 0.5491 MB / 0.5498 GB, free: 17.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3926, allocations: 9.469 kB / 0.5498 GB, free: 17.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.3928, allocations: 17.17 kB / 0.5498 GB, free: 17.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.758e-05/0.3928, allocations: 164.3 kB / 0.5499 GB, free: 17.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.3929, allocations: 9.438 kB / 0.5499 GB, free: 17.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.3929, allocations: 6.625 kB / 0.55 GB, free: 17.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.3931, allocations: 77.27 kB / 0.55 GB, free: 17.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.3931, allocations: 4 kB / 0.55 GB, free: 17.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3931, allocations: 1.094 kB / 0.55 GB, free: 17.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3931, allocations: 1.156 kB / 0.55 GB, free: 17.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.3932, allocations: 78.59 kB / 0.5501 GB, free: 17.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.3936, allocations: 313.9 kB / 0.5504 GB, free: 17.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.691e-05/0.3937, allocations: 49.08 kB / 0.5505 GB, free: 17.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.029e-05/0.3937, allocations: 41.34 kB / 0.5505 GB, free: 17.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002596/0.3963, allocations: 1.703 MB / 0.5522 GB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.3963, allocations: 31.97 kB / 0.5522 GB, free: 15.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.3964, allocations: 0 / 0.5522 GB, free: 15.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002594/0.3966, allocations: 109 kB / 0.5523 GB, free: 15.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.3967, allocations: 51.41 kB / 0.5523 GB, free: 15.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.98e-05/0.3967, allocations: 103.9 kB / 0.5524 GB, free: 15.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.3967, allocations: 25.7 kB / 0.5525 GB, free: 15.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.428e-05/0.3968, allocations: 90.11 kB / 0.5525 GB, free: 15.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.3968, allocations: 30.44 kB / 0.5526 GB, free: 15.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.3968, allocations: 24.27 kB / 0.5526 GB, free: 15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.031e-05/0.3969, allocations: 312.9 kB / 0.5529 GB, free: 14.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-05/0.3969, allocations: 22.27 kB / 0.5529 GB, free: 14.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.538e-05/0.397, allocations: 37.52 kB / 0.553 GB, free: 14.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.449e-05/0.3971, allocations: 63.97 kB / 0.553 GB, free: 14.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3971, allocations: 4 kB / 0.553 GB, free: 14.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001448/0.3972, allocations: 89.25 kB / 0.5531 GB, free: 14.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3973, allocations: 5.5 kB / 0.5531 GB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3973, allocations: 3.938 kB / 0.5531 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3973, allocations: 1.062 kB / 0.5531 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.806e-05/0.3973, allocations: 12.89 kB / 0.5531 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3974, allocations: 7.922 kB / 0.5531 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.033e-05/0.3974, allocations: 2.344 kB / 0.5531 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.3974, allocations: 6.188 kB / 0.5531 GB, free: 14.52 MB / 378.7 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.467e-05/0.3975, allocations: 115.9 kB / 0.5533 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.3975, allocations: 7.281 kB / 0.5533 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.3978, allocations: 148.8 kB / 0.5534 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001344/0.3979, allocations: 117.3 kB / 0.5535 GB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.3979, allocations: 5 kB / 0.5535 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3979, allocations: 7.922 kB / 0.5535 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.3983, allocations: 432.9 kB / 0.5539 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3983, allocations: 4 kB / 0.5539 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.582e-05/0.3984, allocations: 17.5 kB / 0.554 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3984, allocations: 0 / 0.554 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3984, allocations: 1.594 kB / 0.554 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3984, allocations: 1.469 kB / 0.554 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3984, allocations: 0 / 0.554 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/0.3988, allocations: 0.8293 MB / 0.5548 GB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/0.3989, allocations: 83.36 kB / 0.5549 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.3989, allocations: 5.062 kB / 0.5549 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.439e-05/0.399, allocations: 1.281 kB / 0.5549 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.399, allocations: 7.453 kB / 0.5549 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.399, allocations: 7.344 kB / 0.5549 GB, free: 12.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.882e-05/0.399, allocations: 83.28 kB / 0.555 GB, free: 12.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.399, allocations: 1 kB / 0.555 GB, free: 12.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004285/0.4033, allocations: 349.9 kB / 0.5553 GB, free: 12.7 MB / 378.7 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.02394/0.4273, allocations: 3.716 MB / 0.5589 GB, free: 9.633 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002862/0.4276, allocations: 121.5 kB / 0.559 GB, free: 9.508 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4276, allocations: 0 / 0.559 GB, free: 9.508 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.283e-05/0.4277, allocations: 55.92 kB / 0.5591 GB, free: 9.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.4282, allocations: 40.02 kB / 0.5591 GB, free: 9.414 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004589/0.4287, allocations: 361.4 kB / 0.5595 GB, free: 9.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.4288, allocations: 0.6926 MB / 0.5601 GB, free: 8.301 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.186e-05/0.4289, allocations: 12.12 kB / 0.5602 GB, free: 8.289 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.4289, allocations: 23.42 kB / 0.5602 GB, free: 8.27 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.4289, allocations: 3.938 kB / 0.5602 GB, free: 8.266 MB / 378.7 MB Notification: Performance of Templates: time 0.02811/0.457, allocations: 17.95 MB / 0.5777 GB, free: 6.281 MB / 394.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches