Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001031/0.001031, 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.242/1.242, allocations: 229.5 MB / 247.7 MB, free: 6.293 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007736/0.0007736, allocations: 100.2 kB / 299.9 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3025/0.3025, allocations: 45.01 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002211/0.0002211, allocations: 8 kB / 470.8 MB, free: 7.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2604, allocations: 63.1 MB / 0.5214 GB, free: 38.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.001754/0.2622, allocations: 1.351 MB / 0.5227 GB, free: 37.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.2634, allocations: 1.412 MB / 0.5241 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.216e-05/0.2634, allocations: 2.719 kB / 0.5241 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.2636, allocations: 24.95 kB / 0.5241 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.2638, allocations: 65.73 kB / 0.5242 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.2641, allocations: 113.6 kB / 0.5243 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.2642, allocations: 69.98 kB / 0.5243 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.493e-05/0.2643, allocations: 13.31 kB / 0.5243 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.507e-05/0.2644, allocations: 26.55 kB / 0.5244 GB, free: 36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.2645, allocations: 32.8 kB / 0.5244 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.2645, allocations: 2.875 kB / 0.5244 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.2646, allocations: 86.2 kB / 0.5245 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.413e-05/0.2647, allocations: 14.55 kB / 0.5245 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.2647, allocations: 58.62 kB / 0.5246 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.2649, allocations: 130 kB / 0.5247 GB, free: 35.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2649, allocations: 0 / 0.5247 GB, free: 35.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2649, allocations: 0 / 0.5247 GB, free: 35.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.2649, allocations: 4 kB / 0.5247 GB, free: 35.85 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003311/0.2653, allocations: 403.3 kB / 0.5251 GB, free: 35.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.2653, allocations: 10.69 kB / 0.5251 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.2653, allocations: 7.781 kB / 0.5251 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.2655, allocations: 202.2 kB / 0.5253 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.2655, allocations: 3.156 kB / 0.5253 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.2655, allocations: 4.375 kB / 0.5253 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.2656, allocations: 79.78 kB / 0.5254 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2657, allocations: 0 / 0.5254 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.2657, allocations: 3.062 kB / 0.5254 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.2657, allocations: 0 / 0.5254 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.2658, allocations: 45.02 kB / 0.5254 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002513/0.2661, allocations: 298.1 kB / 0.5257 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.2662, allocations: 49.5 kB / 0.5257 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.194e-05/0.2662, allocations: 27.92 kB / 0.5258 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.2663, allocations: 0 / 0.5258 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.2663, allocations: 30.56 kB / 0.5258 GB, free: 34.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.2663, allocations: 2.719 kB / 0.5258 GB, free: 34.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000631/0.2669, allocations: 246.6 kB / 0.526 GB, free: 34.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.267, allocations: 77.11 kB / 0.5261 GB, free: 34.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.786e-05/0.2671, allocations: 151 kB / 0.5263 GB, free: 34.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.2671, allocations: 25.7 kB / 0.5263 GB, free: 34.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.525e-05/0.2671, allocations: 90.95 kB / 0.5264 GB, free: 34.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.2671, allocations: 29.84 kB / 0.5264 GB, free: 34.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.2672, allocations: 3.938 kB / 0.5264 GB, free: 34.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.86e-05/0.2672, allocations: 324.7 kB / 0.5267 GB, free: 34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.2673, allocations: 37.59 kB / 0.5267 GB, free: 33.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.644e-05/0.2674, allocations: 59.22 kB / 0.5268 GB, free: 33.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.2676, allocations: 86.62 kB / 0.5269 GB, free: 33.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.2676, allocations: 0 / 0.5269 GB, free: 33.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000226/0.2678, allocations: 131 kB / 0.527 GB, free: 33.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.2679, allocations: 12.62 kB / 0.527 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.2679, allocations: 0 / 0.527 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.2679, allocations: 0 / 0.527 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.268, allocations: 23.53 kB / 0.527 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.268, allocations: 0 / 0.527 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.886e-05/0.2681, allocations: 19.69 kB / 0.5271 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.2681, allocations: 2.938 kB / 0.5271 GB, free: 33.87 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 (7): * Single equations (assignments): 7 * 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 5.471e-05/0.2681, allocations: 119.7 kB / 0.5272 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.2682, allocations: 6.781 kB / 0.5272 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.2684, allocations: 145.8 kB / 0.5273 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.2685, allocations: 0 / 0.5273 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2685, allocations: 2.906 kB / 0.5273 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2685, allocations: 7.125 kB / 0.5273 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003849/0.2689, allocations: 404.8 kB / 0.5277 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2689, allocations: 0 / 0.5277 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.825e-05/0.269, allocations: 31.25 kB / 0.5277 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.269, allocations: 3.938 kB / 0.5278 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.269, allocations: 3.938 kB / 0.5278 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.269, allocations: 2.75 kB / 0.5278 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.269, allocations: 0 / 0.5278 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.2692, allocations: 220.3 kB / 0.528 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.2693, allocations: 90.69 kB / 0.5281 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.2693, allocations: 4.219 kB / 0.5281 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.387e-05/0.2694, allocations: 19.3 kB / 0.5281 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.2694, allocations: 6.547 kB / 0.5281 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.2694, allocations: 4 kB / 0.5281 GB, free: 33.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.668e-05/0.2695, allocations: 107.1 kB / 0.5282 GB, free: 32.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.2695, allocations: 0 / 0.5282 GB, free: 32.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002292/0.2697, allocations: 49.45 kB / 0.5282 GB, free: 32.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.0008776/0.2706, allocations: 0.5635 MB / 0.5288 GB, free: 32.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.2709, allocations: 94.8 kB / 0.5289 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2709, allocations: 0 / 0.5289 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.271, allocations: 51.56 kB / 0.5289 GB, free: 32.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.2713, allocations: 21.31 kB / 0.5289 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.2716, allocations: 212.3 kB / 0.5291 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.2717, allocations: 0.7006 MB / 0.5298 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.383e-05/0.2718, allocations: 18.23 kB / 0.5299 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.2718, allocations: 13.53 kB / 0.5299 GB, free: 31.71 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2718, allocations: 0 / 0.5299 GB, free: 31.71 MB / 378.7 MB Notification: Performance of Templates: time 0.003454/0.2753, allocations: 1.824 MB / 0.5316 GB, free: 31.49 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches