Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001405/0.001405, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002232/0.002232, allocations: 161.7 kB / 24.27 MB, free: 176 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.609/1.609, allocations: 177.2 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3724/0.3724, allocations: 34.27 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.821e-05/2.977e-05, allocations: 2.312 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003513/0.003543, allocations: 1.654 MB / 379 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.004935, allocations: 0.5647 MB / 379.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.737e-05/0.005013, allocations: 4 kB / 379.5 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006918/0.005704, allocations: 447.1 kB / 380 MB, free: 276 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005903/0.006295, allocations: 295.1 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.006793, allocations: 179.5 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.007106, allocations: 175.6 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.007208, allocations: 11.98 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.007429, allocations: 123.7 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003475/0.007776, allocations: 243.6 kB / 381 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.007797, allocations: 0 / 381 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.007914, allocations: 35.92 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.008056, allocations: 91.69 kB / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.749e-05/0.008124, allocations: 35.75 kB / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004647/0.008588, allocations: 243 kB / 381.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.008592, allocations: 0 / 381.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.008593, allocations: 0 / 381.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.0086, allocations: 4 kB / 381.4 MB, free: 14.86 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008665/0.009467, allocations: 0.5737 MB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.009506, allocations: 8.031 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.009611, allocations: 44.66 kB / 382 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.009946, allocations: 246 kB / 382.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.009958, allocations: 8.375 kB / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.009982, allocations: 384 / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.01017, allocations: 62.17 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.01018, allocations: 192 / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.01019, allocations: 4.125 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.0102, allocations: 4 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.01031, allocations: 31.97 kB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005592/0.01087, allocations: 328.4 kB / 382.7 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.01112, allocations: 54.42 kB / 382.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.042e-05/0.01118, allocations: 20.8 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.0112, allocations: 0 / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.01123, allocations: 30.56 kB / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.01123, allocations: 0 / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007628/0.01199, allocations: 248.7 kB / 383 MB, free: 13.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.01205, allocations: 51.41 kB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.01318, allocations: 0.8652 MB / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.0132, allocations: 25.7 kB / 383.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.01342, allocations: 216.1 kB / 384.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.01345, allocations: 19.91 kB / 384.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/0.01351, allocations: 17.72 kB / 384.2 MB, free: 11.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002534/0.01376, allocations: 362.8 kB / 384.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.272e-05/0.01384, allocations: 23.98 kB / 384.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.743e-05/0.01393, allocations: 23.98 kB / 384.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.0141, allocations: 60.89 kB / 384.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.0141, allocations: 4 kB / 384.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002716/0.01437, allocations: 125.3 kB / 384.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.01439, allocations: 4 kB / 384.8 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.01439, allocations: 0 / 384.8 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.0144, allocations: 8 kB / 384.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.087e-05/0.01447, allocations: 11.98 kB / 384.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.01448, allocations: 0 / 384.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.4e-05/0.01454, allocations: 4 kB / 384.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.01455, allocations: 0 / 384.8 MB, free: 11.24 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 (5): * Single equations (assignments): 5 * 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.0002533/0.0148, allocations: 221.7 kB / 385 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.22e-05/0.01489, allocations: 47.66 kB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003514/0.01524, allocations: 141.5 kB / 385.2 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.01525, allocations: 4 kB / 385.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.01525, allocations: 0 / 385.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01525, allocations: 3.984 kB / 385.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006673/0.01592, allocations: 418 kB / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01592, allocations: 0 / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.01598, allocations: 8 kB / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01599, allocations: 0 / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.016, allocations: 11.98 kB / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.016, allocations: 0 / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.016, allocations: 8.125 kB / 385.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.01633, allocations: 223.2 kB / 385.9 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.01638, allocations: 31.72 kB / 385.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.01641, allocations: 4 kB / 385.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.501e-05/0.01649, allocations: 0 / 385.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.01653, allocations: 15.92 kB / 385.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.01653, allocations: 0 / 385.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008098/0.01734, allocations: 0.6511 MB / 386.6 MB, free: 9.402 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01734, allocations: 0 / 386.6 MB, free: 9.402 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002612/0.0176, allocations: 24 kB / 386.6 MB, free: 9.379 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001945/0.01955, allocations: 435.3 kB / 387 MB, free: 9.129 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.01978, allocations: 51.95 kB / 387.1 MB, free: 9.078 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01978, allocations: 0 / 387.1 MB, free: 9.078 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.317e-05/0.01987, allocations: 31.92 kB / 387.1 MB, free: 9.047 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.02029, allocations: 33.91 kB / 387.1 MB, free: 9.016 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.02167, allocations: 0.8253 MB / 388 MB, free: 8.164 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.02195, allocations: 220.1 kB / 388.2 MB, free: 7.934 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.897e-05/0.02201, allocations: 11.98 kB / 388.2 MB, free: 7.922 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.02205, allocations: 24.44 kB / 388.2 MB, free: 7.898 MB / 362.7 MB Notification: Performance of SimCode: time 5.52e-07/0.02205, allocations: 0 / 388.2 MB, free: 7.898 MB / 362.7 MB Notification: Performance of Templates: time 0.005183/0.02724, allocations: 1.367 MB / 389.6 MB, free: 6.543 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.943204513983801]