Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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.Test3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, 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.31/1.31, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007341/0.0007341, allocations: 95.56 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.2765/0.2765, allocations: 45 MB / 397 MB, free: 31.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002332/0.0002332, allocations: 8 kB / 470.8 MB, free: 7.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2774, allocations: 63.09 MB / 0.5214 GB, free: 38.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.00147/0.2789, allocations: 1.368 MB / 0.5227 GB, free: 37.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007514/0.2797, allocations: 0.7726 MB / 0.5235 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.316e-05/0.2797, allocations: 2.75 kB / 0.5235 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004007/0.2801, allocations: 461.1 kB / 0.5239 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.2804, allocations: 271 kB / 0.5242 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.2807, allocations: 162.7 kB / 0.5243 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.2809, allocations: 179.5 kB / 0.5245 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.408e-05/0.281, allocations: 27.02 kB / 0.5245 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.372e-05/0.2811, allocations: 110.8 kB / 0.5246 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.2812, allocations: 198.2 kB / 0.5248 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.2813, allocations: 0 / 0.5248 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.268e-05/0.2814, allocations: 49.33 kB / 0.5249 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.939e-05/0.2814, allocations: 82.09 kB / 0.5249 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.203e-05/0.2815, allocations: 131.9 kB / 0.5251 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.2817, allocations: 261.1 kB / 0.5253 GB, free: 36.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2817, allocations: 4 kB / 0.5253 GB, free: 36.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.2817, allocations: 3.938 kB / 0.5253 GB, free: 36.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.2817, allocations: 0 / 0.5253 GB, free: 36.31 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.0004647/0.2822, allocations: 0.6149 MB / 0.5259 GB, free: 35.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.2822, allocations: 8.969 kB / 0.5259 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.2823, allocations: 42.62 kB / 0.526 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.2825, allocations: 302 kB / 0.5263 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-06/0.2825, allocations: 4.375 kB / 0.5263 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.2825, allocations: 6.062 kB / 0.5263 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.2827, allocations: 72.42 kB / 0.5263 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2827, allocations: 0 / 0.5263 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.2827, allocations: 0 / 0.5263 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2827, allocations: 9.969 kB / 0.5263 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.2828, allocations: 52.08 kB / 0.5264 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.2833, allocations: 413.8 kB / 0.5268 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.2835, allocations: 67.69 kB / 0.5269 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.837e-05/0.2835, allocations: 32.94 kB / 0.5269 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.2836, allocations: 3.984 kB / 0.5269 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.127e-05/0.2836, allocations: 36.78 kB / 0.5269 GB, free: 34.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.2836, allocations: 4 kB / 0.5269 GB, free: 34.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001298/0.2849, allocations: 0.5562 MB / 0.5275 GB, free: 34.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.2849, allocations: 65.55 kB / 0.5275 GB, free: 34.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006102/0.2855, allocations: 0.8591 MB / 0.5284 GB, free: 34.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.2856, allocations: 25.7 kB / 0.5284 GB, free: 34.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.2857, allocations: 217.8 kB / 0.5286 GB, free: 34.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.2857, allocations: 40.45 kB / 0.5286 GB, free: 34.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.2857, allocations: 4 kB / 0.5286 GB, free: 34.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.563e-05/0.2858, allocations: 360.9 kB / 0.529 GB, free: 33.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.2859, allocations: 65.11 kB / 0.5291 GB, free: 33.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.2861, allocations: 59.59 kB / 0.5291 GB, free: 33.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.2863, allocations: 143.1 kB / 0.5292 GB, free: 33.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.2863, allocations: 0 / 0.5292 GB, free: 33.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002939/0.2866, allocations: 211.3 kB / 0.5294 GB, free: 33.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2866, allocations: 5.906 kB / 0.5295 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2866, allocations: 0 / 0.5295 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.2867, allocations: 6.781 kB / 0.5295 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.971e-05/0.2868, allocations: 37.89 kB / 0.5295 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2868, allocations: 3.938 kB / 0.5295 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.638e-05/0.2868, allocations: 12.28 kB / 0.5295 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.2869, allocations: 2.938 kB / 0.5295 GB, free: 33.64 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 0.0001318/0.287, allocations: 225.4 kB / 0.5297 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.287, allocations: 49.05 kB / 0.5298 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003675/0.2874, allocations: 237.8 kB / 0.53 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2874, allocations: 7.938 kB / 0.53 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2874, allocations: 0 / 0.53 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2875, allocations: 3.281 kB / 0.53 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006034/0.2881, allocations: 0.6198 MB / 0.5306 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2881, allocations: 2.938 kB / 0.5306 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.965e-05/0.2882, allocations: 28.64 kB / 0.5306 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.2882, allocations: 2.281 kB / 0.5306 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.2882, allocations: 6.25 kB / 0.5307 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2882, allocations: 4 kB / 0.5307 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2882, allocations: 2.062 kB / 0.5307 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.2885, allocations: 318 kB / 0.531 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.2886, allocations: 115.7 kB / 0.5311 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.2886, allocations: 1.344 kB / 0.5311 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.2887, allocations: 17.75 kB / 0.5311 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.2888, allocations: 12.62 kB / 0.5311 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.2888, allocations: 6.625 kB / 0.5311 GB, free: 32.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004256/0.2892, allocations: 0.6536 MB / 0.5317 GB, free: 32.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2892, allocations: 3.938 kB / 0.5318 GB, free: 32.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002308/0.2894, allocations: 32.44 kB / 0.5318 GB, free: 32.33 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.0008503/0.2903, allocations: 0.508 MB / 0.5323 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002927/0.2906, allocations: 141.5 kB / 0.5324 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2906, allocations: 0 / 0.5324 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.2907, allocations: 78.91 kB / 0.5325 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.2911, allocations: 38.22 kB / 0.5325 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008776/0.292, allocations: 0.9661 MB / 0.5335 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.2922, allocations: 0.8397 MB / 0.5343 GB, free: 30.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.289e-05/0.2923, allocations: 28.53 kB / 0.5343 GB, free: 30.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.2924, allocations: 15.31 kB / 0.5343 GB, free: 30.73 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.2924, allocations: 0 / 0.5343 GB, free: 30.73 MB / 378.7 MB Notification: Performance of Templates: time 0.004555/0.2969, allocations: 1.778 MB / 0.5361 GB, free: 30.53 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches