Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001134/0.001135, allocations: 193.1 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008719/0.0008719, allocations: 94.75 kB / 299.8 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2993/0.2993, allocations: 45 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002376/0.0002376, allocations: 8 kB / 470.8 MB, free: 7.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2702, allocations: 63.1 MB / 0.5214 GB, free: 38.45 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.001638/0.2719, allocations: 1.372 MB / 0.5227 GB, free: 37.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007571/0.2727, allocations: 0.7723 MB / 0.5235 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.438e-05/0.2727, allocations: 3 kB / 0.5235 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.2729, allocations: 44.86 kB / 0.5235 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.2731, allocations: 72.33 kB / 0.5236 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.2734, allocations: 158.6 kB / 0.5237 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.2736, allocations: 84.94 kB / 0.5238 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.078e-05/0.2737, allocations: 23.47 kB / 0.5238 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.181e-05/0.2737, allocations: 34.39 kB / 0.5239 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.591e-05/0.2738, allocations: 39.03 kB / 0.5239 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.2738, allocations: 0 / 0.5239 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.842e-05/0.2739, allocations: 42.61 kB / 0.5239 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.198e-05/0.274, allocations: 24.17 kB / 0.524 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.274, allocations: 51.58 kB / 0.524 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.2741, allocations: 104 kB / 0.5241 GB, free: 36.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2741, allocations: 0 / 0.5241 GB, free: 36.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2742, allocations: 0 / 0.5241 GB, free: 36.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.2742, allocations: 0 / 0.5241 GB, free: 36.49 MB / 378.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.0003462/0.2745, allocations: 413.2 kB / 0.5245 GB, free: 36.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.2746, allocations: 8.719 kB / 0.5245 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.2746, allocations: 10.25 kB / 0.5245 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.2747, allocations: 198.2 kB / 0.5247 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.2748, allocations: 7.219 kB / 0.5247 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.2748, allocations: 3.281 kB / 0.5247 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.275, allocations: 78.55 kB / 0.5248 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.275, allocations: 0 / 0.5248 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.275, allocations: 4 kB / 0.5248 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.275, allocations: 0 / 0.5248 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.2751, allocations: 45.58 kB / 0.5249 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.2755, allocations: 335.2 kB / 0.5252 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.2757, allocations: 57.12 kB / 0.5252 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.094e-05/0.2758, allocations: 36.77 kB / 0.5253 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.2758, allocations: 6.531 kB / 0.5253 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.204e-05/0.2758, allocations: 30.56 kB / 0.5253 GB, free: 35.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.2758, allocations: 0 / 0.5253 GB, free: 35.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001249/0.2771, allocations: 496.7 kB / 0.5258 GB, free: 35.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.2771, allocations: 58.77 kB / 0.5258 GB, free: 35.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.2772, allocations: 177.5 kB / 0.526 GB, free: 35.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.2772, allocations: 29.08 kB / 0.526 GB, free: 35.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.027e-05/0.2773, allocations: 105.8 kB / 0.5261 GB, free: 34.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.2773, allocations: 33.64 kB / 0.5262 GB, free: 34.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/0.2773, allocations: 0 / 0.5262 GB, free: 34.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.209e-05/0.2774, allocations: 328.9 kB / 0.5265 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.2775, allocations: 63.67 kB / 0.5265 GB, free: 34.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.2776, allocations: 60.61 kB / 0.5266 GB, free: 34.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.2778, allocations: 148.4 kB / 0.5267 GB, free: 34.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.2778, allocations: 0 / 0.5267 GB, free: 34.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002708/0.2781, allocations: 177 kB / 0.5269 GB, free: 34.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.2781, allocations: 6.25 kB / 0.5269 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2782, allocations: 3.328 kB / 0.5269 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.2782, allocations: 0 / 0.5269 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.693e-05/0.2783, allocations: 30.5 kB / 0.5269 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2783, allocations: 2.969 kB / 0.5269 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.351e-05/0.2783, allocations: 16.59 kB / 0.527 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.2784, allocations: 7 kB / 0.527 GB, free: 34.44 MB / 378.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 6.272e-05/0.2784, allocations: 126.2 kB / 0.5271 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.2785, allocations: 17.77 kB / 0.5271 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003614/0.2788, allocations: 209.5 kB / 0.5273 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.2788, allocations: 3.938 kB / 0.5273 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.2789, allocations: 0 / 0.5273 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2789, allocations: 3 kB / 0.5273 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005161/0.2794, allocations: 0.5129 MB / 0.5278 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2794, allocations: 2.906 kB / 0.5278 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.99e-05/0.2795, allocations: 26.64 kB / 0.5278 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2795, allocations: 0 / 0.5278 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.2795, allocations: 2.906 kB / 0.5278 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.2795, allocations: 2.812 kB / 0.5278 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2795, allocations: 0 / 0.5278 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.2798, allocations: 296.3 kB / 0.5281 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.948e-05/0.2799, allocations: 91.56 kB / 0.5282 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.2799, allocations: 6.969 kB / 0.5282 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.745e-05/0.28, allocations: 17.95 kB / 0.5282 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.28, allocations: 6.5 kB / 0.5282 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.28, allocations: 6.031 kB / 0.5282 GB, free: 33.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.517e-05/0.2801, allocations: 141.5 kB / 0.5284 GB, free: 33.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2801, allocations: 0 / 0.5284 GB, free: 33.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002302/0.2804, allocations: 30.17 kB / 0.5284 GB, free: 33.4 MB / 378.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.0009386/0.2813, allocations: 0.5144 MB / 0.5289 GB, free: 33.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002877/0.2816, allocations: 144 kB / 0.529 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2816, allocations: 4 kB / 0.5291 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.2818, allocations: 76.66 kB / 0.5291 GB, free: 33.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.2821, allocations: 19.75 kB / 0.5291 GB, free: 33.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.2825, allocations: 327 kB / 0.5295 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.2826, allocations: 0.715 MB / 0.5302 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.2827, allocations: 33.08 kB / 0.5302 GB, free: 32.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.2827, allocations: 13.53 kB / 0.5302 GB, free: 32.07 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2828, allocations: 0 / 0.5302 GB, free: 32.07 MB / 378.7 MB Notification: Performance of Templates: time 0.00316/0.2859, allocations: 1.513 MB / 0.5317 GB, free: 31.9 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches