Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001178/0.001178, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001279/0.001279, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.03/1.03, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.286/0.286, allocations: 34.26 MB / 296 MB, free: 0.7773 MB / 266.7 MB " [Timeout remaining time 180] 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/2.912e-05, allocations: 6.312 kB / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002737/0.002766, allocations: 1.658 MB / 379.7 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008065/0.003572, allocations: 0.5529 MB / 380.2 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.673e-05/0.003639, allocations: 4 kB / 380.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004912/0.00413, allocations: 455.1 kB / 380.7 MB, free: 308 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003751/0.004505, allocations: 299.1 kB / 381 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.004828, allocations: 163.6 kB / 381.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.005039, allocations: 179.5 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.005152, allocations: 12 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.005262, allocations: 119.8 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.005457, allocations: 239.6 kB / 381.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.005476, allocations: 4 kB / 381.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.236e-05/0.005538, allocations: 31.88 kB / 381.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.59e-05/0.005634, allocations: 91.69 kB / 381.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/0.005681, allocations: 35.75 kB / 381.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.005909, allocations: 191.2 kB / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.005913, allocations: 0 / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005914, allocations: 0 / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.00592, allocations: 0 / 382 MB, free: 14.96 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005989/0.006519, allocations: 0.6932 MB / 382.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.006559, allocations: 12.03 kB / 382.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.855e-05/0.006617, allocations: 40.66 kB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.006823, allocations: 248.9 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.006832, allocations: 4.375 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.006842, allocations: 384 / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.00697, allocations: 58.95 kB / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.964e-06/0.006977, allocations: 192 / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.006988, allocations: 4.125 kB / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.006996, allocations: 0 / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.226e-05/0.007029, allocations: 7.984 kB / 383.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.007456, allocations: 439.6 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.626e-05/0.007532, allocations: 39.06 kB / 383.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.265e-05/0.007554, allocations: 15.62 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.007577, allocations: 7.938 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.007601, allocations: 37.47 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.723e-06/0.007602, allocations: 3.984 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001867/0.007789, allocations: 93.34 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.007819, allocations: 51.41 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004268/0.008246, allocations: 0.6316 MB / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.008258, allocations: 25.7 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.008401, allocations: 286.8 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.008421, allocations: 7.906 kB / 384.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.008449, allocations: 23.38 kB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.008606, allocations: 0.5547 MB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.008624, allocations: 4 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.345e-05/0.008638, allocations: 4 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.798e-05/0.008676, allocations: 19.69 kB / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.008678, allocations: 0 / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.688e-05/0.008765, allocations: 89.28 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.008779, allocations: 8 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.008782, allocations: 0 / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.008795, allocations: 0 / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.174e-05/0.008867, allocations: 11.98 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.008871, allocations: 8 kB / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.491e-05/0.008896, allocations: 0 / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.008902, allocations: 0 / 385.4 MB, free: 11.35 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 7.839e-05/0.00898, allocations: 160.6 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.009018, allocations: 47.66 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.009152, allocations: 85.08 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.009156, allocations: 4 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.00916, allocations: 0 / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.009163, allocations: 0 / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.009375, allocations: 272.5 kB / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.009377, allocations: 4 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.009416, allocations: 11.98 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.009419, allocations: 3.938 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.009429, allocations: 4 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.00943, allocations: 0 / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.009431, allocations: 3.938 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.009702, allocations: 231.7 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.529e-05/0.009727, allocations: 35.66 kB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.009745, allocations: 7.938 kB / 386.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.023e-05/0.009785, allocations: 3.938 kB / 386.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.009801, allocations: 8.406 kB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.009804, allocations: 4 kB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002455/0.01005, allocations: 430.8 kB / 386.7 MB, free: 9.988 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01005, allocations: 0 / 386.7 MB, free: 9.988 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001676/0.01022, allocations: 16 kB / 386.7 MB, free: 9.973 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.0007233/0.01094, allocations: 332.1 kB / 387.1 MB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.04e-05/0.01103, allocations: 23.69 kB / 387.1 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01103, allocations: 4 kB / 387.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.576e-05/0.01105, allocations: 19.61 kB / 387.1 MB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.0113, allocations: 37.23 kB / 387.1 MB, free: 9.676 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006064/0.01191, allocations: 0.573 MB / 387.7 MB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.53e-05/0.01198, allocations: 115.3 kB / 387.8 MB, free: 8.941 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.075e-05/0.01202, allocations: 15.97 kB / 387.8 MB, free: 8.926 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.145e-05/0.01205, allocations: 16.48 kB / 387.9 MB, free: 8.906 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01205, allocations: 0 / 387.9 MB, free: 8.906 MB / 362.7 MB Notification: Performance of Templates: time 0.003818/0.01587, allocations: 1.202 MB / 389.1 MB, free: 7.715 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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.2627070089802146]