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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009567/0.0009567, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009337/0.0009337, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.008/1.008, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.255/0.255, allocations: 32.81 MB / 294.3 MB, free: 1.289 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 376 MB, free: 4.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.945e-05, allocations: 6.25 kB / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.009408/0.009437, allocations: 8.494 MB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008502/0.01794, allocations: 11.05 MB / 395.5 MB, free: 1.074 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.01797, allocations: 0 / 395.5 MB, free: 1.074 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.01816, allocations: 31.83 kB / 395.6 MB, free: 1.043 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002779/0.02094, allocations: 1.886 MB / 397.5 MB, free: 15.15 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.779e-06/0.02094, allocations: 0 / 397.5 MB, free: 15.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.606e-05/0.02102, allocations: 43.67 kB / 397.5 MB, free: 15.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.543e-05/0.02106, allocations: 4 kB / 397.5 MB, free: 15.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.02118, allocations: 43.77 kB / 397.5 MB, free: 15.06 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.842e-05/0.02121, allocations: 11.98 kB / 397.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.02122, allocations: 0 / 397.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00621/0.02743, allocations: 6.595 MB / 404.2 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.02744, allocations: 0 / 404.2 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.02747, allocations: 23.92 kB / 404.2 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007383/0.03486, allocations: 5.33 MB / 409.5 MB, free: 3.078 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.03486, allocations: 0 / 409.5 MB, free: 3.078 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.03486, allocations: 0 / 409.5 MB, free: 3.078 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.03487, allocations: 0 / 409.5 MB, free: 3.078 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.00168/0.03655, allocations: 0.5993 MB / 410.1 MB, free: 2.441 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.03659, allocations: 8.031 kB / 410.1 MB, free: 2.434 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.03673, allocations: 31.88 kB / 410.1 MB, free: 2.402 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.206e-05/0.03679, allocations: 119.9 kB / 410.3 MB, free: 2.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.0368, allocations: 0 / 410.3 MB, free: 2.258 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.03681, allocations: 4 kB / 410.3 MB, free: 2.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.03692, allocations: 57.67 kB / 410.3 MB, free: 2.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.03693, allocations: 0 / 410.3 MB, free: 2.191 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.03694, allocations: 0 / 410.3 MB, free: 2.191 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.03695, allocations: 7.938 kB / 410.3 MB, free: 2.184 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.071e-05/0.037, allocations: 31.98 kB / 410.4 MB, free: 2.152 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.03738, allocations: 299.7 kB / 410.7 MB, free: 1.824 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.325e-05/0.03743, allocations: 43.05 kB / 410.7 MB, free: 1.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.45e-05/0.03747, allocations: 27.73 kB / 410.7 MB, free: 1.738 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00148/0.03895, allocations: 0.8617 MB / 411.6 MB, free: 0.875 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.03897, allocations: 33.39 kB / 411.6 MB, free: 0.832 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.03897, allocations: 0 / 411.6 MB, free: 0.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002176/0.03919, allocations: 101.6 kB / 411.7 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.03922, allocations: 55.41 kB / 411.8 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.139e-05/0.03929, allocations: 149.9 kB / 411.9 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.0393, allocations: 25.7 kB / 411.9 MB, free: 476 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.03934, allocations: 134.8 kB / 412.1 MB, free: 336 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.03936, allocations: 31.73 kB / 412.1 MB, free: 304 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.0394, allocations: 35.5 kB / 412.1 MB, free: 260 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.03953, allocations: 0.4884 MB / 412.6 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.444e-05/0.03955, allocations: 12 kB / 412.6 MB, free: 15.74 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-05/0.03959, allocations: 39.36 kB / 412.7 MB, free: 15.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.364e-05/0.03965, allocations: 59.3 kB / 412.7 MB, free: 15.63 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.03965, allocations: 0 / 412.7 MB, free: 15.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000118/0.03977, allocations: 93.52 kB / 412.8 MB, free: 15.53 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.03979, allocations: 4 kB / 412.8 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.03979, allocations: 0 / 412.8 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.03981, allocations: 8.031 kB / 412.8 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.388e-05/0.03986, allocations: 8 kB / 412.8 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.03987, allocations: 0 / 412.8 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.819e-05/0.03989, allocations: 3.938 kB / 412.8 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.03991, allocations: 7.984 kB / 412.9 MB, free: 15.5 MB / 394.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 7.429e-05/0.03998, allocations: 160.5 kB / 413 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.04001, allocations: 15.83 kB / 413 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.04018, allocations: 122 kB / 413.1 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.794e-05/0.04027, allocations: 97.61 kB / 413.2 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.04027, allocations: 0 / 413.2 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.04028, allocations: 4 kB / 413.2 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.0406, allocations: 401.2 kB / 413.6 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.0406, allocations: 0 / 413.6 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.595e-05/0.04063, allocations: 16 kB / 413.7 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.04064, allocations: 4 kB / 413.7 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.04065, allocations: 4.234 kB / 413.7 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.04065, allocations: 0 / 413.7 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.04065, allocations: 4 kB / 413.7 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.04081, allocations: 267.6 kB / 413.9 MB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.04082, allocations: 11.89 kB / 413.9 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.04083, allocations: 4 kB / 413.9 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.066e-05/0.04086, allocations: 8 kB / 413.9 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.04088, allocations: 3.984 kB / 414 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-06/0.04088, allocations: 4 kB / 414 MB, free: 14.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.22e-05/0.04092, allocations: 119.2 kB / 414.1 MB, free: 14.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04092, allocations: 0 / 414.1 MB, free: 14.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009961/0.04191, allocations: 366.9 kB / 414.4 MB, free: 13.84 MB / 394.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.00872/0.05063, allocations: 4.143 MB / 418.6 MB, free: 9.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001858/0.05082, allocations: 102.9 kB / 418.7 MB, free: 9.566 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.05082, allocations: 0 / 418.7 MB, free: 9.566 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.098e-05/0.05086, allocations: 47.61 kB / 418.7 MB, free: 9.516 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.05112, allocations: 44.06 kB / 418.8 MB, free: 9.473 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000674/0.0518, allocations: 204.5 kB / 419 MB, free: 9.246 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.977e-05/0.05184, allocations: 63.3 kB / 419 MB, free: 9.164 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.693e-05/0.05187, allocations: 24.05 kB / 419 MB, free: 9.141 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.0519, allocations: 16.5 kB / 419.1 MB, free: 9.125 MB / 394.7 MB Notification: Performance of SimCode: time 8.71e-07/0.0519, allocations: 0 / 419.1 MB, free: 9.125 MB / 394.7 MB Notification: Performance of Templates: time 0.01789/0.06979, allocations: 18.5 MB / 437.6 MB, free: 6.625 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.192220915108919]