Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.0008537/0.0008537, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.0009512/0.0009512, allocations: 166.6 kB / 24.99 MB, free: 8.789 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 1.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2746/0.2746, allocations: 32.81 MB / 294.6 MB, free: 1.219 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.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 376 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.512e-05/3.738e-05, allocations: 2.312 kB / 376 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002869/0.002906, allocations: 1.7 MB / 377.7 MB, free: 3.246 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007542/0.00366, allocations: 0.8024 MB / 378.5 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/0.003708, allocations: 0 / 378.5 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.004001, allocations: 23.86 kB / 378.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.004259, allocations: 51.69 kB / 378.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.548e-06/0.004263, allocations: 0 / 378.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.004442, allocations: 39.89 kB / 378.6 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.00448, allocations: 0 / 378.6 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.938e-05/0.00452, allocations: 15.92 kB / 378.6 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.471e-05/0.004575, allocations: 11.97 kB / 378.7 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.004589, allocations: 4 kB / 378.7 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.501e-05/0.004644, allocations: 8 kB / 378.7 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.985e-05/0.004694, allocations: 19.94 kB / 378.7 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.004717, allocations: 7.938 kB / 378.7 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.00485, allocations: 55.7 kB / 378.8 MB, free: 2.207 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.004853, allocations: 3.938 kB / 378.8 MB, free: 2.203 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.004854, allocations: 0 / 378.8 MB, free: 2.203 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.00486, allocations: 4 kB / 378.8 MB, free: 2.199 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003194/0.005179, allocations: 392.3 kB / 379.1 MB, free: 1.777 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.005214, allocations: 8.031 kB / 379.2 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.005257, allocations: 12.89 kB / 379.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.005369, allocations: 116.5 kB / 379.3 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.005384, allocations: 4.359 kB / 379.3 MB, free: 1.613 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.005395, allocations: 4.375 kB / 379.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.005525, allocations: 108.3 kB / 379.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.005533, allocations: 192 / 379.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.005542, allocations: 384 / 379.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.405e-05/0.005596, allocations: 32.28 kB / 379.4 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.681e-05/0.005632, allocations: 31.86 kB / 379.5 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.006177, allocations: 1.203 MB / 380.7 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.006283, allocations: 265.4 kB / 380.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.449e-05/0.006328, allocations: 126.9 kB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.006362, allocations: 119.2 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.748e-05/0.00642, allocations: 160.6 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/0.006421, allocations: 0 / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.677e-05/0.006508, allocations: 45.61 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.618e-05/0.006584, allocations: 174.6 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.006768, allocations: 243 kB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.006782, allocations: 29.7 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.006884, allocations: 202.2 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.38e-06/0.006889, allocations: 4 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/0.006945, allocations: 51.31 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.007101, allocations: 0.4923 MB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.279e-05/0.007133, allocations: 15.98 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.007254, allocations: 200.4 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.007428, allocations: 225.5 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.007433, allocations: 0 / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002623/0.007696, allocations: 173.4 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.007718, allocations: 7.938 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.007727, allocations: 4 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.007751, allocations: 11.94 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.00787, allocations: 43.92 kB / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.007881, allocations: 11.94 kB / 383.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.954e-05/0.00794, allocations: 23.78 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.007951, allocations: 8.375 kB / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001071/0.008058, allocations: 291.7 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.008114, allocations: 160.8 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.87e-05/0.008173, allocations: 156.6 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.425e-05/0.008237, allocations: 276 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.677e-05/0.008304, allocations: 264.2 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.226e-05/0.008376, allocations: 280 kB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.008584, allocations: 0.5038 MB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-05/0.008626, allocations: 152.8 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.008663, allocations: 148.9 kB / 385.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.033e-05/0.008723, allocations: 264.1 kB / 385.7 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.148e-05/0.008795, allocations: 280 kB / 386 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.53e-05/0.00886, allocations: 264.1 kB / 386.2 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.771e-05/0.008928, allocations: 272 kB / 386.5 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.00907, allocations: 455.9 kB / 386.9 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.009116, allocations: 156.8 kB / 387.1 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.408e-05/0.00919, allocations: 268.1 kB / 387.4 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.224e-05/0.009252, allocations: 152.8 kB / 387.5 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.00932, allocations: 268 kB / 387.8 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.009354, allocations: 152.8 kB / 387.9 MB, free: 8.414 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.654e-05/0.009441, allocations: 159.3 kB / 388.1 MB, free: 8.258 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009441, allocations: 0 / 388.1 MB, free: 8.258 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001942/0.009635, allocations: 20 kB / 388.1 MB, free: 8.238 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 (0): * Single equations (assignments): 0 * 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.0005686/0.0102, allocations: 306.6 kB / 388.4 MB, free: 7.973 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001438/0.01035, allocations: 71.47 kB / 388.5 MB, free: 7.898 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01035, allocations: 0 / 388.5 MB, free: 7.898 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.01035, allocations: 1.25 kB / 388.5 MB, free: 7.898 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.01067, allocations: 0.7091 MB / 389.2 MB, free: 7.188 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.01098, allocations: 291.7 kB / 389.5 MB, free: 6.871 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.207e-05/0.01102, allocations: 67.83 kB / 389.5 MB, free: 6.785 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.451e-05/0.01111, allocations: 49.08 kB / 389.6 MB, free: 6.738 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.01114, allocations: 16.48 kB / 389.6 MB, free: 6.723 MB / 362.7 MB Notification: Performance of SimCode: time 1.242e-06/0.01114, allocations: 4 kB / 389.6 MB, free: 6.719 MB / 362.7 MB Notification: Performance of Templates: time 0.00248/0.01362, allocations: 0.7284 MB / 390.3 MB, free: 6 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.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: 3.1520082359202206]