Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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.Test29") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009731/0.0009732, allocations: 201.7 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.238/1.238, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000795/0.000795, allocations: 92.22 kB / 299.9 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.3274/0.3274, allocations: 45 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002493/0.0002491, allocations: 8 kB / 470.8 MB, free: 7.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2625, allocations: 63.09 MB / 0.5214 GB, free: 38.47 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.00147/0.264, allocations: 1.378 MB / 0.5227 GB, free: 37.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007612/0.2648, allocations: 0.771 MB / 0.5235 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-05/0.2648, allocations: 0 / 0.5235 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.265, allocations: 73.94 kB / 0.5235 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.2652, allocations: 82.5 kB / 0.5236 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.2656, allocations: 163.5 kB / 0.5238 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.2657, allocations: 87.41 kB / 0.5239 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.487e-05/0.2658, allocations: 22.28 kB / 0.5239 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.64e-05/0.2658, allocations: 38.58 kB / 0.5239 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.527e-05/0.2659, allocations: 49.36 kB / 0.524 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.2659, allocations: 0 / 0.524 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.887e-05/0.266, allocations: 40.88 kB / 0.524 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.2661, allocations: 26.64 kB / 0.524 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.863e-05/0.2661, allocations: 59.39 kB / 0.5241 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.2663, allocations: 113.4 kB / 0.5242 GB, free: 36.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2663, allocations: 0 / 0.5242 GB, free: 36.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2663, allocations: 0 / 0.5242 GB, free: 36.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.2663, allocations: 4 kB / 0.5242 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.0003427/0.2666, allocations: 408.7 kB / 0.5246 GB, free: 36.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.2667, allocations: 11.38 kB / 0.5246 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.791e-05/0.2667, allocations: 13.84 kB / 0.5246 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.2669, allocations: 201.8 kB / 0.5248 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.2669, allocations: 3.188 kB / 0.5248 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.2669, allocations: 6.062 kB / 0.5248 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.2671, allocations: 77.11 kB / 0.5249 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2671, allocations: 2.938 kB / 0.5249 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.2671, allocations: 0 / 0.5249 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.2671, allocations: 0 / 0.5249 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.2672, allocations: 53.61 kB / 0.5249 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.2676, allocations: 334 kB / 0.5253 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.2678, allocations: 62.88 kB / 0.5253 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.095e-05/0.2679, allocations: 33.36 kB / 0.5253 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.2679, allocations: 0 / 0.5253 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.152e-05/0.2679, allocations: 30.56 kB / 0.5254 GB, free: 35.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.2679, allocations: 0 / 0.5254 GB, free: 35.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001282/0.2692, allocations: 0.498 MB / 0.5259 GB, free: 35.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.2692, allocations: 61.59 kB / 0.5259 GB, free: 35.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.2694, allocations: 212.9 kB / 0.5261 GB, free: 35.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.906e-06/0.2694, allocations: 28.64 kB / 0.5261 GB, free: 35.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.2695, allocations: 112.6 kB / 0.5263 GB, free: 34.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.2695, allocations: 33.95 kB / 0.5263 GB, free: 34.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.2695, allocations: 4 kB / 0.5263 GB, free: 34.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.405e-05/0.2696, allocations: 327.5 kB / 0.5266 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.2697, allocations: 65.06 kB / 0.5267 GB, free: 34.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.2698, allocations: 64.58 kB / 0.5267 GB, free: 34.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.27, allocations: 137.4 kB / 0.5269 GB, free: 34.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.27, allocations: 0 / 0.5269 GB, free: 34.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002756/0.2703, allocations: 186.7 kB / 0.527 GB, free: 34.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.2703, allocations: 5.219 kB / 0.527 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.2704, allocations: 0 / 0.527 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.2704, allocations: 0 / 0.527 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.971e-05/0.2705, allocations: 35.14 kB / 0.5271 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2705, allocations: 4 kB / 0.5271 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.505e-05/0.2705, allocations: 17.73 kB / 0.5271 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.2706, allocations: 3.188 kB / 0.5271 GB, free: 34.42 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.744e-05/0.2706, allocations: 131.4 kB / 0.5272 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.2707, allocations: 13.31 kB / 0.5272 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/0.271, allocations: 207.2 kB / 0.5274 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.271, allocations: 3.938 kB / 0.5274 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.271, allocations: 0 / 0.5274 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.271, allocations: 4 kB / 0.5274 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005107/0.2716, allocations: 0.5256 MB / 0.528 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2716, allocations: 0 / 0.528 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.83e-05/0.2717, allocations: 28.19 kB / 0.528 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2717, allocations: 0 / 0.528 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.2717, allocations: 3.188 kB / 0.528 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.2717, allocations: 3.141 kB / 0.528 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2717, allocations: 2.875 kB / 0.528 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.272, allocations: 296 kB / 0.5283 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/0.272, allocations: 91.34 kB / 0.5284 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.272, allocations: 3.125 kB / 0.5284 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.2721, allocations: 15.94 kB / 0.5284 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.2722, allocations: 9.328 kB / 0.5284 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.2722, allocations: 10.88 kB / 0.5284 GB, free: 33.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.834e-05/0.2723, allocations: 160 kB / 0.5286 GB, free: 33.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2723, allocations: 0 / 0.5286 GB, free: 33.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000216/0.2725, allocations: 27.73 kB / 0.5286 GB, free: 33.38 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.0008726/0.2734, allocations: 0.5179 MB / 0.5291 GB, free: 33.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002882/0.2737, allocations: 142.4 kB / 0.5292 GB, free: 33.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2737, allocations: 2.875 kB / 0.5292 GB, free: 33.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.2738, allocations: 81.72 kB / 0.5293 GB, free: 33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.2741, allocations: 27.7 kB / 0.5293 GB, free: 32.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.2746, allocations: 361.1 kB / 0.5297 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.2747, allocations: 0.7269 MB / 0.5304 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.202e-05/0.2748, allocations: 30.58 kB / 0.5304 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.2748, allocations: 13.41 kB / 0.5304 GB, free: 32.02 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2748, allocations: 4 kB / 0.5304 GB, free: 32.02 MB / 378.7 MB Notification: Performance of Templates: time 0.003298/0.2781, allocations: 1.517 MB / 0.5319 GB, free: 31.86 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches