Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.001976/0.001976, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002081/0.002081, allocations: 165.3 kB / 24.27 MB, free: 152 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.594/1.594, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3526/0.3526, allocations: 32.81 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 179] 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.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.05e-05/3.217e-05, allocations: 5.125 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003434/0.003466, allocations: 1.689 MB / 377 MB, free: 3.277 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.005057, allocations: 0.5608 MB / 377.5 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.441e-05/0.005121, allocations: 3.938 kB / 377.5 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.005428, allocations: 55.73 kB / 377.6 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.005752, allocations: 91.55 kB / 377.7 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.006216, allocations: 175.5 kB / 377.9 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.006415, allocations: 95.69 kB / 378 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.006523, allocations: 16.22 kB / 378 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.006626, allocations: 47.89 kB / 378 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.006747, allocations: 43.88 kB / 378.1 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.00677, allocations: 4 kB / 378.1 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.006883, allocations: 47.92 kB / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.681e-05/0.00696, allocations: 23.91 kB / 378.1 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.007004, allocations: 15.94 kB / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.007237, allocations: 115.5 kB / 378.3 MB, free: 1.984 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.00724, allocations: 0 / 378.3 MB, free: 1.984 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007241, allocations: 0 / 378.3 MB, free: 1.984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.007246, allocations: 4 kB / 378.3 MB, free: 1.98 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006813/0.007928, allocations: 447.6 kB / 378.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.007969, allocations: 12.03 kB / 378.7 MB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.845e-05/0.008027, allocations: 12.84 kB / 378.7 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.008255, allocations: 150.8 kB / 378.9 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.008269, allocations: 8.375 kB / 378.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.008293, allocations: 4.375 kB / 378.9 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.008463, allocations: 58.23 kB / 378.9 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.008476, allocations: 192 / 378.9 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.00849, allocations: 4.125 kB / 378.9 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.008495, allocations: 4 kB / 379 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.008619, allocations: 31.92 kB / 379 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005323/0.009152, allocations: 311.7 kB / 379.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.009413, allocations: 62.98 kB / 379.3 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.212e-05/0.009485, allocations: 23.83 kB / 379.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.009506, allocations: 4 kB / 379.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.009541, allocations: 37.39 kB / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.009542, allocations: 0 / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001157/0.0107, allocations: 293.5 kB / 379.7 MB, free: 424 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.01075, allocations: 51.41 kB / 379.7 MB, free: 360 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.01098, allocations: 225.8 kB / 380 MB, free: 116 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.011, allocations: 29.7 kB / 380 MB, free: 80 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.01113, allocations: 154.9 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.719e-05/0.01119, allocations: 43.69 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.01126, allocations: 35.3 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003046/0.01156, allocations: 0.5079 MB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.01166, allocations: 23.98 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.423e-05/0.01176, allocations: 31.97 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.01196, allocations: 79.72 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.01197, allocations: 4 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000288/0.01226, allocations: 121.6 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.01227, allocations: 6.188 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01228, allocations: 0 / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.0123, allocations: 4 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.01241, allocations: 27.92 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.01242, allocations: 0 / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.126e-05/0.01247, allocations: 7.984 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.01248, allocations: 7.984 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001329/0.01262, allocations: 168.5 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.01266, allocations: 19.91 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003743/0.01304, allocations: 150.6 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.01304, allocations: 4 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.01305, allocations: 0 / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.01305, allocations: 0 / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007146/0.01376, allocations: 452.7 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01377, allocations: 3.938 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.837e-05/0.01386, allocations: 23.98 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.01387, allocations: 0 / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.01388, allocations: 4 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.01388, allocations: 3.938 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01388, allocations: 0 / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.01429, allocations: 295.1 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.01431, allocations: 11.94 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.01433, allocations: 4.062 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.426e-05/0.01442, allocations: 11.94 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.01447, allocations: 7.984 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.01448, allocations: 4 kB / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001439/0.01462, allocations: 166.2 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01462, allocations: 0 / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000258/0.01488, allocations: 27.98 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.003358/0.01824, allocations: 0.494 MB / 382.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000335/0.01858, allocations: 91.58 kB / 383 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.01858, allocations: 0 / 383 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.01872, allocations: 59.72 kB / 383 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.01906, allocations: 19.98 kB / 383 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006526/0.01972, allocations: 285.9 kB / 383.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.01983, allocations: 100.8 kB / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.353e-05/0.01993, allocations: 28.45 kB / 383.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.01998, allocations: 20.5 kB / 383.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01998, allocations: 0 / 383.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of Templates: time 0.005648/0.02563, allocations: 1.646 MB / 385.1 MB, free: 11 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",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.927404753980227]