Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001025/0.001025, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.00115/0.00115, allocations: 161.4 kB / 24.56 MB, free: 20 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.001/1.001, allocations: 177.1 MB / 205 MB, free: 5.281 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.2876/0.2876, allocations: 32.8 MB / 294.3 MB, free: 1.16 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 376 MB, free: 4.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.293e-05, allocations: 6.25 kB / 376 MB, free: 4.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002948/0.002971, allocations: 1.661 MB / 377.7 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007377/0.003709, allocations: 0.5258 MB / 378.2 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.003754, allocations: 0 / 378.2 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004628/0.004217, allocations: 463 kB / 378.7 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.004571, allocations: 295.1 kB / 379 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.004822, allocations: 127.6 kB / 379.1 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.005008, allocations: 167.7 kB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.216e-05/0.005091, allocations: 7.984 kB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.005196, allocations: 115.8 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.00544, allocations: 247.5 kB / 379.6 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.005457, allocations: 4 kB / 379.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.627e-05/0.005513, allocations: 27.92 kB / 379.6 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.937e-05/0.005592, allocations: 79.72 kB / 379.7 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.005628, allocations: 43.73 kB / 379.8 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.005814, allocations: 191.2 kB / 380 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.005817, allocations: 0 / 380 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005817, allocations: 0 / 380 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.005822, allocations: 0 / 380 MB, free: 0.6875 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000532/0.006354, allocations: 0.6932 MB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.006385, allocations: 8.031 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.006437, allocations: 44.66 kB / 380.7 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.006638, allocations: 248.8 kB / 380.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.006648, allocations: 384 / 380.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.006662, allocations: 8.375 kB / 380.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.006786, allocations: 54.95 kB / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.0068, allocations: 4.172 kB / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.006811, allocations: 4.125 kB / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.006822, allocations: 7.984 kB / 381 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.824e-05/0.006851, allocations: 7.938 kB / 381 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006749/0.007526, allocations: 411.8 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.233e-05/0.007598, allocations: 35.05 kB / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.256e-05/0.00762, allocations: 11.69 kB / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.007643, allocations: 7.938 kB / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.00766, allocations: 37.39 kB / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.007662, allocations: 0 / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001555/0.007817, allocations: 93.44 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.007842, allocations: 55.39 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/0.008247, allocations: 0.6277 MB / 382.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.739e-06/0.008257, allocations: 25.7 kB / 382.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.00839, allocations: 282.8 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.008407, allocations: 7.953 kB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.008435, allocations: 31.3 kB / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.00858, allocations: 0.547 MB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.008595, allocations: 4 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.412e-05/0.008609, allocations: 7.984 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.283e-05/0.008642, allocations: 23.62 kB / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.008643, allocations: 0 / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.894e-05/0.008722, allocations: 85.34 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.008734, allocations: 4 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.008739, allocations: 0 / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.008753, allocations: 0 / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.965e-05/0.008823, allocations: 15.98 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.008827, allocations: 0 / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/0.008855, allocations: 3.938 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.00886, allocations: 8 kB / 383.3 MB, free: 13.1 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 (3): * Single equations (assignments): 3 * 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 6.897e-05/0.008929, allocations: 152.6 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.008971, allocations: 51.61 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.009083, allocations: 89.05 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.009085, allocations: 0 / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.009088, allocations: 0 / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.00909, allocations: 0 / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.00929, allocations: 280.5 kB / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.009291, allocations: 0 / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.698e-05/0.009318, allocations: 8 kB / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.009321, allocations: 7.938 kB / 383.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.009326, allocations: 0 / 383.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.009327, allocations: 0 / 383.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.009328, allocations: 384 / 383.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.009445, allocations: 239.6 kB / 384.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.522e-05/0.00947, allocations: 39.7 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.009486, allocations: 11.94 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.65e-05/0.009522, allocations: 0 / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.009534, allocations: 0 / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.009536, allocations: 4 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002539/0.00979, allocations: 426.8 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00979, allocations: 4 kB / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002044/0.009995, allocations: 20 kB / 384.6 MB, free: 11.72 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 (3): * Single equations (assignments): 3 * 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.0007371/0.01073, allocations: 329.7 kB / 385 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.806e-05/0.01082, allocations: 19.67 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01082, allocations: 0 / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.744e-05/0.01084, allocations: 23.62 kB / 385 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.01107, allocations: 25.95 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005634/0.01164, allocations: 0.5612 MB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.778e-05/0.01171, allocations: 115.3 kB / 385.7 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.71e-05/0.01173, allocations: 11.97 kB / 385.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.01176, allocations: 16.5 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01176, allocations: 0 / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of Templates: time 0.00342/0.01518, allocations: 1.188 MB / 386.9 MB, free: 9.5 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.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.4562119264155626]