Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001008/0.001008, allocations: 192.2 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.244/1.244, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008082/0.0008084, allocations: 99.48 kB / 299.9 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2988/0.2988, allocations: 45 MB / 397 MB, free: 31.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002204/0.0002204, allocations: 8 kB / 470.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2506, allocations: 63.1 MB / 0.5214 GB, free: 38.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.00143/0.2521, allocations: 1.372 MB / 0.5227 GB, free: 37.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006772/0.2528, allocations: 0.7413 MB / 0.5234 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.859e-05/0.2528, allocations: 0 / 0.5234 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.253, allocations: 64.7 kB / 0.5235 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.2532, allocations: 93.28 kB / 0.5236 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.2535, allocations: 112.7 kB / 0.5237 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.2536, allocations: 85.55 kB / 0.5238 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.099e-05/0.2537, allocations: 16.28 kB / 0.5238 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.437e-05/0.2537, allocations: 34.03 kB / 0.5238 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.266e-05/0.2538, allocations: 47.84 kB / 0.5239 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.2538, allocations: 6.688 kB / 0.5239 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.536e-05/0.2539, allocations: 44.14 kB / 0.5239 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.254, allocations: 23.81 kB / 0.5239 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.254, allocations: 54.28 kB / 0.524 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.2542, allocations: 113.5 kB / 0.5241 GB, free: 36.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2542, allocations: 0 / 0.5241 GB, free: 36.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2542, allocations: 0 / 0.5241 GB, free: 36.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.2542, allocations: 0 / 0.5241 GB, free: 36.61 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.0003317/0.2545, allocations: 416 kB / 0.5245 GB, free: 36.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.2545, allocations: 11.22 kB / 0.5245 GB, free: 36.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.2546, allocations: 14.38 kB / 0.5245 GB, free: 36.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.2547, allocations: 203.2 kB / 0.5247 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.2547, allocations: 384 / 0.5247 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.2548, allocations: 3.125 kB / 0.5247 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.2549, allocations: 70.3 kB / 0.5248 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2549, allocations: 4 kB / 0.5248 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.2549, allocations: 4 kB / 0.5248 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2549, allocations: 2.906 kB / 0.5248 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.2551, allocations: 47.05 kB / 0.5248 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002565/0.2553, allocations: 315.7 kB / 0.5251 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.2555, allocations: 61.02 kB / 0.5252 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.466e-05/0.2556, allocations: 29.61 kB / 0.5252 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.2556, allocations: 7.156 kB / 0.5252 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.077e-05/0.2556, allocations: 30.56 kB / 0.5253 GB, free: 35.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.2556, allocations: 0 / 0.5253 GB, free: 35.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001181/0.2568, allocations: 467.8 kB / 0.5257 GB, free: 35.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.2569, allocations: 58.16 kB / 0.5258 GB, free: 35.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.257, allocations: 207.5 kB / 0.526 GB, free: 35.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.257, allocations: 25.7 kB / 0.526 GB, free: 35.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.2571, allocations: 113.4 kB / 0.5261 GB, free: 35.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.2571, allocations: 29.88 kB / 0.5261 GB, free: 35.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.2571, allocations: 6.781 kB / 0.5261 GB, free: 35.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.296e-05/0.2572, allocations: 325.1 kB / 0.5264 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.2573, allocations: 52.41 kB / 0.5265 GB, free: 34.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.776e-05/0.2574, allocations: 54.72 kB / 0.5265 GB, free: 34.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.2576, allocations: 111.5 kB / 0.5266 GB, free: 34.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.2576, allocations: 4 kB / 0.5267 GB, free: 34.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002483/0.2578, allocations: 158.5 kB / 0.5268 GB, free: 34.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.2579, allocations: 9.719 kB / 0.5268 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2579, allocations: 0 / 0.5268 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.2579, allocations: 0 / 0.5268 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.636e-05/0.258, allocations: 34.88 kB / 0.5268 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.258, allocations: 2.469 kB / 0.5268 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.067e-05/0.2581, allocations: 12.77 kB / 0.5269 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.2581, allocations: 10.78 kB / 0.5269 GB, free: 34.57 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.448e-05/0.2582, allocations: 132.9 kB / 0.527 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.2582, allocations: 13.66 kB / 0.527 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.2585, allocations: 180 kB / 0.5272 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2585, allocations: 6.875 kB / 0.5272 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2585, allocations: 0 / 0.5272 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2585, allocations: 4.547 kB / 0.5272 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.259, allocations: 489.3 kB / 0.5277 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.259, allocations: 2.781 kB / 0.5277 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.025e-05/0.2591, allocations: 41.66 kB / 0.5277 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2591, allocations: 0 / 0.5277 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.2591, allocations: 2.656 kB / 0.5277 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2591, allocations: 2.812 kB / 0.5277 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2591, allocations: 0 / 0.5277 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.2594, allocations: 278.4 kB / 0.528 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.2594, allocations: 87.48 kB / 0.5281 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.2594, allocations: 6.594 kB / 0.5281 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.515e-05/0.2595, allocations: 19.33 kB / 0.5281 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.2596, allocations: 6.547 kB / 0.5281 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.2596, allocations: 6.75 kB / 0.5281 GB, free: 33.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.378e-05/0.2597, allocations: 162.4 kB / 0.5282 GB, free: 33.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2597, allocations: 0 / 0.5282 GB, free: 33.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000214/0.2599, allocations: 29.44 kB / 0.5283 GB, free: 33.55 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.0008204/0.2607, allocations: 0.5098 MB / 0.5288 GB, free: 33.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002675/0.261, allocations: 124.8 kB / 0.5289 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.261, allocations: 0 / 0.5289 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.2611, allocations: 73.52 kB / 0.529 GB, free: 33.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.2614, allocations: 23.34 kB / 0.529 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.2618, allocations: 344.8 kB / 0.5293 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.262, allocations: 0.7099 MB / 0.53 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.57e-05/0.262, allocations: 23.88 kB / 0.53 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.2621, allocations: 16.38 kB / 0.53 GB, free: 32.21 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2621, allocations: 0 / 0.53 GB, free: 32.21 MB / 378.7 MB Notification: Performance of Templates: time 0.003188/0.2653, allocations: 1.442 MB / 0.5315 GB, free: 32.06 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches