Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001101/0.001101, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00096/0.00096, allocations: 170.6 kB / 24.99 MB, free: 8.793 MB / 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 0.9636/0.9636, allocations: 177.1 MB / 205.3 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2349/0.2349, allocations: 34.26 MB / 296 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.759e-05, allocations: 5.828 kB / 378 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.008967/0.008984, allocations: 8.507 MB / 386.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008924/0.01791, allocations: 11.03 MB / 397.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.156e-05/0.01795, allocations: 0 / 397.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.01813, allocations: 39.75 kB / 397.6 MB, free: 15.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003221/0.02136, allocations: 1.882 MB / 399.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.847e-06/0.02136, allocations: 0 / 399.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 8.763e-05/0.02145, allocations: 51.61 kB / 399.5 MB, free: 13.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.783e-05/0.02148, allocations: 3.984 kB / 399.5 MB, free: 13.37 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.02162, allocations: 47.77 kB / 399.6 MB, free: 13.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.595e-05/0.02164, allocations: 12 kB / 399.6 MB, free: 13.31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.02165, allocations: 0 / 399.6 MB, free: 13.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006208/0.02786, allocations: 6.595 MB / 406.2 MB, free: 6.703 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.02788, allocations: 7.938 kB / 406.2 MB, free: 6.695 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.02791, allocations: 8 kB / 406.2 MB, free: 6.688 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006358/0.03427, allocations: 5.341 MB / 411.5 MB, free: 1.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.03427, allocations: 0 / 411.5 MB, free: 1.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.03427, allocations: 0 / 411.5 MB, free: 1.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.03428, allocations: 0 / 411.5 MB, free: 1.34 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.001439/0.03572, allocations: 0.6032 MB / 412.1 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.03576, allocations: 8.031 kB / 412.2 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.03593, allocations: 27.88 kB / 412.2 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.069e-05/0.03602, allocations: 108.1 kB / 412.3 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.03604, allocations: 4 kB / 412.3 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.03605, allocations: 4 kB / 412.3 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.03615, allocations: 57.61 kB / 412.3 MB, free: 472 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.03616, allocations: 4 kB / 412.4 MB, free: 468 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.03616, allocations: 3.938 kB / 412.4 MB, free: 464 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.03618, allocations: 7.922 kB / 412.4 MB, free: 456 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.585e-05/0.03622, allocations: 39.98 kB / 412.4 MB, free: 416 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.03657, allocations: 295.7 kB / 412.7 MB, free: 84 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.228e-05/0.03662, allocations: 46.98 kB / 412.7 MB, free: 24 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.503e-05/0.03666, allocations: 23.75 kB / 412.8 MB, free: 16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001375/0.03804, allocations: 0.8499 MB / 413.6 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.03806, allocations: 37.39 kB / 413.6 MB, free: 15.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.173e-06/0.03806, allocations: 96 / 413.6 MB, free: 15.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001958/0.03826, allocations: 109.6 kB / 413.8 MB, free: 14.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.03828, allocations: 51.52 kB / 413.8 MB, free: 14.92 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.924e-05/0.03835, allocations: 161.9 kB / 414 MB, free: 14.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.03836, allocations: 29.64 kB / 414 MB, free: 14.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.03841, allocations: 142.8 kB / 414.1 MB, free: 14.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.03843, allocations: 27.75 kB / 414.2 MB, free: 14.54 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.03846, allocations: 27.36 kB / 414.2 MB, free: 14.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.03856, allocations: 496.1 kB / 414.7 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.195e-05/0.03858, allocations: 19.98 kB / 414.7 MB, free: 13.99 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.228e-05/0.03861, allocations: 31.38 kB / 414.7 MB, free: 13.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.679e-05/0.03867, allocations: 59.36 kB / 414.8 MB, free: 13.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.03867, allocations: 3.938 kB / 414.8 MB, free: 13.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.975e-05/0.03877, allocations: 97.64 kB / 414.9 MB, free: 13.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.03878, allocations: 8 kB / 414.9 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.03879, allocations: 4 kB / 414.9 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.0388, allocations: 0 / 414.9 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.339e-05/0.03884, allocations: 11.98 kB / 414.9 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.03885, allocations: 0 / 414.9 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.685e-05/0.03887, allocations: 4 kB / 414.9 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.03888, allocations: 0 / 414.9 MB, free: 13.75 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 5.646e-05/0.03893, allocations: 164.6 kB / 415.1 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.03896, allocations: 11.89 kB / 415.1 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.03911, allocations: 129.7 kB / 415.2 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.142e-05/0.03918, allocations: 97.67 kB / 415.3 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.03918, allocations: 0 / 415.3 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.03919, allocations: 0 / 415.3 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.03947, allocations: 405.2 kB / 415.7 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.03947, allocations: 0 / 415.7 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.312e-05/0.0395, allocations: 19.92 kB / 415.7 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.0395, allocations: 4 kB / 415.7 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.03951, allocations: 7.938 kB / 415.7 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.03951, allocations: 3.984 kB / 415.7 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.03951, allocations: 0 / 415.7 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.03965, allocations: 259.8 kB / 416 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-06/0.03966, allocations: 15.83 kB / 416 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.03967, allocations: 4 kB / 416 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.757e-05/0.0397, allocations: 0 / 416 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.03971, allocations: 7.984 kB / 416 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.03972, allocations: 4 kB / 416 MB, free: 12.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.715e-05/0.03975, allocations: 127.2 kB / 416.1 MB, free: 12.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03975, allocations: 0 / 416.1 MB, free: 12.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008675/0.04061, allocations: 366.9 kB / 416.5 MB, free: 12.07 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.008444/0.04906, allocations: 4.136 MB / 420.6 MB, free: 7.918 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.04921, allocations: 102.6 kB / 420.7 MB, free: 7.805 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.04921, allocations: 4 kB / 420.7 MB, free: 7.801 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.601e-05/0.04925, allocations: 39.67 kB / 420.8 MB, free: 7.758 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.0495, allocations: 43.95 kB / 420.8 MB, free: 7.715 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000615/0.05012, allocations: 224.3 kB / 421 MB, free: 7.469 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.435e-05/0.05015, allocations: 59.36 kB / 421.1 MB, free: 7.391 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.49e-05/0.05019, allocations: 16.11 kB / 421.1 MB, free: 7.375 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.05021, allocations: 16.5 kB / 421.1 MB, free: 7.359 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.05021, allocations: 0 / 421.1 MB, free: 7.359 MB / 394.7 MB Notification: Performance of Templates: time 0.01701/0.06722, allocations: 18.57 MB / 439.7 MB, free: 4.797 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.132782191969454]