Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.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.0009274/0.0009274, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001095/0.001095, allocations: 174.5 kB / 24.92 MB, free: 8.77 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.9927/0.9927, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2546/0.2546, 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.CombiTable2Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.04e-05, allocations: 2.875 kB / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test32): time 0.002374/0.002395, allocations: 1.744 MB / 327.1 MB, free: 5.883 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.003604, allocations: 1.301 MB / 328.4 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.809e-05/0.003652, allocations: 0 / 328.4 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.003885, allocations: 27.78 kB / 328.4 MB, free: 4.547 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.004127, allocations: 83.56 kB / 328.5 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.004347, allocations: 127.6 kB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.004462, allocations: 75.75 kB / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.071e-05/0.004533, allocations: 11.98 kB / 328.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.959e-05/0.004603, allocations: 43.84 kB / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.826e-05/0.004691, allocations: 27.91 kB / 328.8 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.004703, allocations: 8 kB / 328.8 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.004848, allocations: 99.81 kB / 328.9 MB, free: 4.078 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.004894, allocations: 19.91 kB / 328.9 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.934e-05/0.004913, allocations: 12.48 kB / 328.9 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.005087, allocations: 143.5 kB / 329 MB, free: 3.906 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.005088, allocations: 0 / 329 MB, free: 3.906 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005089, allocations: 0 / 329 MB, free: 3.906 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.005093, allocations: 0 / 329 MB, free: 3.906 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003178/0.005411, allocations: 305.7 kB / 329.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.005444, allocations: 8.031 kB / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.005476, allocations: 16.86 kB / 329.4 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.00562, allocations: 125.7 kB / 329.5 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-06/0.005627, allocations: 4.312 kB / 329.5 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.005643, allocations: 8.375 kB / 329.5 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.005761, allocations: 98.34 kB / 329.6 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.005773, allocations: 8.141 kB / 329.6 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.005784, allocations: 8.125 kB / 329.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.005788, allocations: 0 / 329.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.408e-05/0.005812, allocations: 4 kB / 329.6 MB, free: 3.266 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.006012, allocations: 172.2 kB / 329.8 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.923e-05/0.006061, allocations: 30.56 kB / 329.8 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/0.006076, allocations: 12.86 kB / 329.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.00609, allocations: 3.984 kB / 329.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.00611, allocations: 38.5 kB / 329.9 MB, free: 2.977 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.006111, allocations: 0 / 329.9 MB, free: 2.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002659/0.006376, allocations: 105.7 kB / 330 MB, free: 2.867 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.006406, allocations: 85.11 kB / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.006644, allocations: 137 kB / 330.2 MB, free: 2.621 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.006656, allocations: 29.7 kB / 330.2 MB, free: 2.586 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.913e-05/0.006686, allocations: 100 kB / 330.3 MB, free: 2.484 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.006704, allocations: 23.8 kB / 330.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.006732, allocations: 21.72 kB / 330.3 MB, free: 2.434 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.47e-05/0.006797, allocations: 322.8 kB / 330.7 MB, free: 2.109 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.006809, allocations: 4 kB / 330.7 MB, free: 2.105 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.748e-05/0.006836, allocations: 43.42 kB / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.353e-05/0.00687, allocations: 28.83 kB / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.006871, allocations: 0 / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.075e-05/0.006931, allocations: 57.84 kB / 330.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.006941, allocations: 4 kB / 330.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.006944, allocations: 0 / 330.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.926e-06/0.006953, allocations: 7.969 kB / 330.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.268e-05/0.007015, allocations: 19.98 kB / 330.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.007019, allocations: 4.062 kB / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.351e-05/0.007042, allocations: 7.984 kB / 330.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.007048, allocations: 4 kB / 330.8 MB, free: 1.91 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 (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 4.85e-05/0.007096, allocations: 112.7 kB / 330.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.007115, allocations: 11.88 kB / 331 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.672e-05/0.007201, allocations: 74.31 kB / 331 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.007204, allocations: 4 kB / 331 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.007205, allocations: 4 kB / 331 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.007207, allocations: 0 / 331 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.007388, allocations: 226.7 kB / 331.3 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.007389, allocations: 0 / 331.3 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.007424, allocations: 15.98 kB / 331.3 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.007426, allocations: 4 kB / 331.3 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.007433, allocations: 4 kB / 331.3 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.007435, allocations: 0 / 331.3 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.007435, allocations: 3.938 kB / 331.3 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.352e-05/0.007529, allocations: 151.5 kB / 331.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.729e-06/0.007539, allocations: 15.95 kB / 331.5 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.928e-06/0.007548, allocations: 0 / 331.5 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.038e-05/0.007589, allocations: 8 kB / 331.5 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.007611, allocations: 7.984 kB / 331.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.007614, allocations: 0 / 331.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.483e-05/0.007639, allocations: 26.72 kB / 331.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007639, allocations: 0 / 331.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001641/0.007803, allocations: 47.86 kB / 331.5 MB, free: 1.148 MB / 298.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.001254/0.009057, allocations: 0.6265 MB / 332.2 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.475e-05/0.009132, allocations: 44.77 kB / 332.2 MB, free: 0.793 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.009135, allocations: 0 / 332.2 MB, free: 0.793 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.107e-05/0.009156, allocations: 20.84 kB / 332.2 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.009297, allocations: 23.92 kB / 332.3 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.009566, allocations: 195.9 kB / 332.4 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.608e-05/0.009602, allocations: 63.34 kB / 332.5 MB, free: 456 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.791e-05/0.00964, allocations: 16.3 kB / 332.5 MB, free: 440 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.208e-05/0.009702, allocations: 67.34 kB / 332.6 MB, free: 372 kB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.009702, allocations: 0 / 332.6 MB, free: 372 kB / 298.7 MB Notification: Performance of Templates: time 0.003428/0.01313, allocations: 2.118 MB / 334.7 MB, free: 14.26 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test32/Test32.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.950888175982982]