Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001345/0.001345, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001553/0.001553, allocations: 170.4 kB / 24.91 MB, free: 8.73 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 0.9547/0.9547, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2418/0.2418, allocations: 34.26 MB / 296.1 MB, free: 0.6797 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.43e-05, allocations: 8.422 kB / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003177/0.003201, allocations: 1.714 MB / 327 MB, free: 5.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.004258, allocations: 0.5684 MB / 327.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.707e-05/0.004335, allocations: 4 kB / 327.6 MB, free: 5.352 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.004655, allocations: 79.69 kB / 327.6 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003762/0.005031, allocations: 103.5 kB / 327.7 MB, free: 5.172 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000465/0.005496, allocations: 175.5 kB / 327.9 MB, free: 5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.00568, allocations: 95.73 kB / 328 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.939e-05/0.00578, allocations: 24.14 kB / 328 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.852e-05/0.005868, allocations: 47.84 kB / 328.1 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.839e-05/0.005966, allocations: 51.86 kB / 328.1 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.005983, allocations: 4 kB / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.006089, allocations: 51.92 kB / 328.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.006155, allocations: 31.84 kB / 328.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.006185, allocations: 16.44 kB / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.006372, allocations: 99.64 kB / 328.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.006375, allocations: 7.938 kB / 328.3 MB, free: 4.574 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.006376, allocations: 4 kB / 328.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.00638, allocations: 0 / 328.3 MB, free: 4.57 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003751/0.006755, allocations: 317.5 kB / 328.6 MB, free: 4.238 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.00679, allocations: 12.03 kB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.006827, allocations: 8.938 kB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.006977, allocations: 142.8 kB / 328.8 MB, free: 4.055 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.00699, allocations: 8.375 kB / 328.8 MB, free: 4.047 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.007014, allocations: 4.375 kB / 328.8 MB, free: 4.043 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.007133, allocations: 70.86 kB / 328.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.007143, allocations: 4.188 kB / 328.9 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.007152, allocations: 4.125 kB / 328.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.007158, allocations: 0 / 328.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.261e-05/0.007191, allocations: 8 kB / 328.9 MB, free: 3.949 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.007469, allocations: 194.9 kB / 329.1 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.007619, allocations: 42.55 kB / 329.1 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.356e-05/0.007643, allocations: 12.84 kB / 329.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.007661, allocations: 0 / 329.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.007684, allocations: 38.5 kB / 329.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.007685, allocations: 0 / 329.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006475/0.008332, allocations: 213.9 kB / 329.4 MB, free: 3.414 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.008365, allocations: 51.41 kB / 329.4 MB, free: 3.352 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.008502, allocations: 180.8 kB / 329.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.008516, allocations: 25.7 kB / 329.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.008562, allocations: 104 kB / 329.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.008598, allocations: 43.67 kB / 329.8 MB, free: 2.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.008641, allocations: 21.72 kB / 329.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.283e-05/0.008734, allocations: 330.7 kB / 330.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.661e-05/0.008761, allocations: 11.98 kB / 330.1 MB, free: 2.609 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.333e-05/0.008784, allocations: 8 kB / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.757e-05/0.008852, allocations: 43.78 kB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.008855, allocations: 7.938 kB / 330.2 MB, free: 2.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001077/0.008963, allocations: 66.59 kB / 330.3 MB, free: 2.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.008977, allocations: 8 kB / 330.3 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.008982, allocations: 0 / 330.3 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.008995, allocations: 4 kB / 330.3 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.967e-05/0.009084, allocations: 19.98 kB / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.009089, allocations: 4 kB / 330.3 MB, free: 2.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.824e-05/0.009127, allocations: 7.984 kB / 330.3 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.009138, allocations: 4 kB / 330.3 MB, free: 2.43 MB / 298.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 (11): * Single equations (assignments): 11 * 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 9.221e-05/0.009231, allocations: 120.5 kB / 330.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.00927, allocations: 11.98 kB / 330.4 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.009445, allocations: 84.55 kB / 330.5 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.009448, allocations: 0 / 330.5 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.00945, allocations: 4 kB / 330.5 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.009454, allocations: 0 / 330.5 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003788/0.009833, allocations: 300.1 kB / 330.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.009835, allocations: 0 / 330.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.962e-05/0.009915, allocations: 27.92 kB / 330.9 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.009918, allocations: 0 / 330.9 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.009926, allocations: 0 / 330.9 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.009928, allocations: 4 kB / 330.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.009931, allocations: 3.938 kB / 330.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.0101, allocations: 189.2 kB / 331 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.01012, allocations: 11.91 kB / 331.1 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.01013, allocations: 0 / 331.1 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.092e-05/0.0102, allocations: 8 kB / 331.1 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.01024, allocations: 11.92 kB / 331.1 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.01025, allocations: 7.984 kB / 331.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.514e-05/0.01032, allocations: 52.66 kB / 331.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01032, allocations: 0 / 331.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002601/0.01058, allocations: 27.98 kB / 331.2 MB, free: 1.508 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001781/0.01236, allocations: 0.5861 MB / 331.8 MB, free: 1.219 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.01248, allocations: 48.7 kB / 331.8 MB, free: 1.168 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.01249, allocations: 8 kB / 331.8 MB, free: 1.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.927e-05/0.01254, allocations: 36.78 kB / 331.8 MB, free: 1.121 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.01278, allocations: 19.98 kB / 331.9 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/0.01328, allocations: 280.2 kB / 332.1 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.576e-05/0.01333, allocations: 71.33 kB / 332.2 MB, free: 0.707 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.978e-05/0.01339, allocations: 16.61 kB / 332.2 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.681e-05/0.01347, allocations: 63.38 kB / 332.3 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01347, allocations: 0 / 332.3 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of Templates: time 0.00426/0.01773, allocations: 1.766 MB / 334 MB, free: 14.89 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.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.907231002114713]