Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,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.Test26") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 200 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 229.5 MB / 247.7 MB, free: 6.344 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007641/0.0007641, allocations: 95.44 kB / 299.8 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2806/0.2806, allocations: 45.01 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002521/0.000252, allocations: 8 kB / 470.8 MB, free: 7.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2716, allocations: 63.1 MB / 0.5214 GB, free: 38.46 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.001577/0.2732, allocations: 1.371 MB / 0.5227 GB, free: 37.47 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007904/0.274, allocations: 0.7747 MB / 0.5235 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.2741, allocations: 2.938 kB / 0.5235 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002098/0.2743, allocations: 54.78 kB / 0.5235 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.2745, allocations: 76.58 kB / 0.5236 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.2748, allocations: 166.5 kB / 0.5238 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.2749, allocations: 82.8 kB / 0.5238 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.128e-05/0.275, allocations: 21.58 kB / 0.5239 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.383e-05/0.2751, allocations: 39.06 kB / 0.5239 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.2752, allocations: 34.31 kB / 0.5239 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.2752, allocations: 2.562 kB / 0.5239 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.816e-05/0.2753, allocations: 44.06 kB / 0.524 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.234e-05/0.2753, allocations: 21.86 kB / 0.524 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.2754, allocations: 54.89 kB / 0.524 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.2755, allocations: 112.3 kB / 0.5241 GB, free: 36.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2755, allocations: 0 / 0.5241 GB, free: 36.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.073e-06/0.2755, allocations: 0 / 0.5241 GB, free: 36.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.2755, allocations: 0 / 0.5241 GB, free: 36.5 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.0003231/0.2759, allocations: 409 kB / 0.5245 GB, free: 36.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.2759, allocations: 8.375 kB / 0.5245 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.2759, allocations: 10.38 kB / 0.5246 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.2761, allocations: 206.7 kB / 0.5248 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.2761, allocations: 2.938 kB / 0.5248 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.2761, allocations: 3.094 kB / 0.5248 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.2762, allocations: 74.39 kB / 0.5248 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2763, allocations: 7.188 kB / 0.5248 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.2763, allocations: 4 kB / 0.5248 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.2763, allocations: 2.844 kB / 0.5248 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.2764, allocations: 50.66 kB / 0.5249 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.2768, allocations: 316.4 kB / 0.5252 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.277, allocations: 63.22 kB / 0.5253 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.189e-05/0.277, allocations: 37.58 kB / 0.5253 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.2771, allocations: 0 / 0.5253 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.244e-05/0.2771, allocations: 34.56 kB / 0.5253 GB, free: 35.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.2771, allocations: 3.938 kB / 0.5253 GB, free: 35.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001328/0.2784, allocations: 499.7 kB / 0.5258 GB, free: 35.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.2785, allocations: 58.16 kB / 0.5259 GB, free: 35.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.2786, allocations: 188.3 kB / 0.526 GB, free: 35.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.896e-06/0.2786, allocations: 28.64 kB / 0.5261 GB, free: 35.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/0.2786, allocations: 106.1 kB / 0.5262 GB, free: 34.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.2787, allocations: 41.52 kB / 0.5262 GB, free: 34.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-06/0.2787, allocations: 4 kB / 0.5262 GB, free: 34.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.109e-05/0.2787, allocations: 321.4 kB / 0.5265 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.2789, allocations: 57.5 kB / 0.5266 GB, free: 34.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.279, allocations: 70.72 kB / 0.5266 GB, free: 34.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.2792, allocations: 134.1 kB / 0.5268 GB, free: 34.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.2792, allocations: 0 / 0.5268 GB, free: 34.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002746/0.2795, allocations: 190.1 kB / 0.5269 GB, free: 34.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.2795, allocations: 5.812 kB / 0.527 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2795, allocations: 0 / 0.527 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.2796, allocations: 3 kB / 0.527 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.2797, allocations: 34.16 kB / 0.527 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.2797, allocations: 0 / 0.527 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.721e-05/0.2797, allocations: 15.7 kB / 0.527 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.2798, allocations: 2.75 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.166e-05/0.2798, allocations: 132.7 kB / 0.5271 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.2799, allocations: 9.469 kB / 0.5271 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.2802, allocations: 209.3 kB / 0.5273 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2802, allocations: 6.688 kB / 0.5273 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2802, allocations: 0 / 0.5273 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2802, allocations: 3.375 kB / 0.5273 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/0.2808, allocations: 0.5153 MB / 0.5279 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2808, allocations: 0.5625 kB / 0.5279 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.212e-05/0.2809, allocations: 27.81 kB / 0.5279 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2809, allocations: 2.844 kB / 0.5279 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.2809, allocations: 4 kB / 0.5279 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2809, allocations: 5.891 kB / 0.5279 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2809, allocations: 0 / 0.5279 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.2812, allocations: 297.9 kB / 0.5282 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.83e-05/0.2813, allocations: 94.7 kB / 0.5283 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.2813, allocations: 0 / 0.5283 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.763e-05/0.2814, allocations: 15.2 kB / 0.5283 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.2814, allocations: 11.83 kB / 0.5283 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.2814, allocations: 3.938 kB / 0.5283 GB, free: 33.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.428e-05/0.2815, allocations: 142.6 kB / 0.5284 GB, free: 33.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2815, allocations: 7.938 kB / 0.5284 GB, free: 33.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002225/0.2817, allocations: 32.05 kB / 0.5285 GB, free: 33.39 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.0008331/0.2826, allocations: 0.5045 MB / 0.529 GB, free: 33.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002897/0.2829, allocations: 142.4 kB / 0.5291 GB, free: 33.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2829, allocations: 8 kB / 0.5291 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.283, allocations: 72.92 kB / 0.5292 GB, free: 33.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.2833, allocations: 25.5 kB / 0.5292 GB, free: 33.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.2837, allocations: 338.2 kB / 0.5295 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.2838, allocations: 0.7215 MB / 0.5302 GB, free: 32.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.027e-05/0.2839, allocations: 27.64 kB / 0.5303 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.284, allocations: 19.09 kB / 0.5303 GB, free: 32.07 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.284, allocations: 0 / 0.5303 GB, free: 32.07 MB / 378.7 MB Notification: Performance of Templates: time 0.003094/0.2871, allocations: 1.509 MB / 0.5317 GB, free: 31.91 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches