Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.0009893/0.0009893, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.0009564/0.0009564, allocations: 165 kB / 24.56 MB, free: 4 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 0.914/0.914, allocations: 177.1 MB / 205 MB, free: 5.629 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.2832/0.2832, allocations: 32.81 MB / 294.3 MB, free: 1.266 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.64e-05, allocations: 6.25 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002392/0.002418, allocations: 1.705 MB / 377.7 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.003793, allocations: 1.289 MB / 379 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.925e-05/0.003852, allocations: 4 kB / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.004074, allocations: 31.72 kB / 379.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.00441, allocations: 83.55 kB / 379.1 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.00469, allocations: 123.6 kB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.004829, allocations: 79.77 kB / 379.3 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.235e-05/0.004921, allocations: 15.98 kB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.403e-05/0.004985, allocations: 39.89 kB / 379.4 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.856e-05/0.005084, allocations: 23.92 kB / 379.4 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.005099, allocations: 4 kB / 379.4 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.005251, allocations: 95.75 kB / 379.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.825e-05/0.005309, allocations: 23.91 kB / 379.5 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.005336, allocations: 15.98 kB / 379.6 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.005555, allocations: 139.5 kB / 379.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.005561, allocations: 3.984 kB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.005562, allocations: 4 kB / 379.7 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.005566, allocations: 0 / 379.7 MB, free: 0.9492 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000444/0.00601, allocations: 428 kB / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.006046, allocations: 12.03 kB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.006096, allocations: 16.83 kB / 380.2 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.006246, allocations: 135.9 kB / 380.3 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.006255, allocations: 4.375 kB / 380.3 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.006276, allocations: 4.375 kB / 380.3 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.006428, allocations: 112 kB / 380.4 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.006438, allocations: 4.172 kB / 380.4 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.006448, allocations: 8.125 kB / 380.4 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-06/0.006458, allocations: 4 kB / 380.4 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.709e-05/0.006495, allocations: 11.97 kB / 380.4 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.006801, allocations: 279.7 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.823e-05/0.00688, allocations: 42.98 kB / 380.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.006906, allocations: 19.62 kB / 380.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.006924, allocations: 96 / 380.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.006948, allocations: 41.38 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.006949, allocations: 0 / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004105/0.007359, allocations: 125.4 kB / 380.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.007397, allocations: 77.11 kB / 381 MB, free: 15.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.007518, allocations: 195.9 kB / 381.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.007529, allocations: 33.69 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/0.007579, allocations: 142.8 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.007599, allocations: 15.86 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.007635, allocations: 31.36 kB / 381.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.007747, allocations: 0.4884 MB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.378e-05/0.007771, allocations: 8 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.555e-05/0.007817, allocations: 65.06 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.952e-05/0.007866, allocations: 35.66 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.007867, allocations: 0 / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.316e-05/0.00796, allocations: 69.86 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.007973, allocations: 4 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.007978, allocations: 4 kB / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.00799, allocations: 0 / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.837e-05/0.008079, allocations: 15.98 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.008084, allocations: 0 / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/0.008113, allocations: 11.92 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.00812, allocations: 4 kB / 382.1 MB, free: 14.3 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 (7): * Single equations (assignments): 7 * 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.639e-05/0.008186, allocations: 164.5 kB / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.008209, allocations: 19.84 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.008353, allocations: 78.39 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.008355, allocations: 4 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.008359, allocations: 0 / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.008361, allocations: 0 / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.008622, allocations: 345.3 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.008623, allocations: 0 / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.008671, allocations: 15.98 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.008675, allocations: 4 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.008683, allocations: 4 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.008685, allocations: 0 / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.008687, allocations: 0 / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.008814, allocations: 223.8 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.008825, allocations: 11.94 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.00884, allocations: 4 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.209e-05/0.008882, allocations: 4 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.008916, allocations: 7.984 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-06/0.008919, allocations: 0 / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.167e-05/0.008981, allocations: 153.2 kB / 383.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008981, allocations: 4 kB / 383.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002108/0.009192, allocations: 39.88 kB / 383.2 MB, free: 13.16 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 (7): * Single equations (assignments): 7 * 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.001077/0.01027, allocations: 487.5 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.01042, allocations: 47.59 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01042, allocations: 0 / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.253e-05/0.01045, allocations: 31.67 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.01069, allocations: 15.98 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.0111, allocations: 192.8 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.373e-05/0.01114, allocations: 63.34 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.468e-05/0.0112, allocations: 24.22 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.01124, allocations: 16.5 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01124, allocations: 0 / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of Templates: time 0.004524/0.01576, allocations: 2.153 MB / 386.2 MB, free: 10.28 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.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: 2.8959677619859576]