Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,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.Test25") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008917/0.0008919, 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.202/1.202, 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.0007332/0.0007332, allocations: 99.33 kB / 299.8 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2841/0.2841, allocations: 45 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002251/0.0002251, allocations: 8 kB / 470.8 MB, free: 7.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2612, allocations: 63.1 MB / 0.5214 GB, free: 38.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.001528/0.2627, allocations: 1.37 MB / 0.5227 GB, free: 37.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008094/0.2636, allocations: 0.7693 MB / 0.5235 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.185e-05/0.2636, allocations: 0 / 0.5235 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.2638, allocations: 53.3 kB / 0.5235 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.264, allocations: 71.81 kB / 0.5236 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.2644, allocations: 165.3 kB / 0.5237 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.2645, allocations: 87.3 kB / 0.5238 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.772e-05/0.2646, allocations: 19.47 kB / 0.5238 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.753e-05/0.2647, allocations: 32.3 kB / 0.5239 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.469e-05/0.2647, allocations: 44.62 kB / 0.5239 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.2648, allocations: 0 / 0.5239 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-05/0.2649, allocations: 38.19 kB / 0.5239 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.261e-05/0.2649, allocations: 29.05 kB / 0.524 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/0.265, allocations: 53.05 kB / 0.524 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.2651, allocations: 109.5 kB / 0.5241 GB, free: 36.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2651, allocations: 0 / 0.5241 GB, free: 36.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2651, allocations: 0 / 0.5241 GB, free: 36.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.2651, allocations: 0 / 0.5241 GB, free: 36.48 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.0003507/0.2655, allocations: 403.1 kB / 0.5245 GB, free: 36.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.2655, allocations: 10.19 kB / 0.5245 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.2656, allocations: 10.19 kB / 0.5245 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.2657, allocations: 195.5 kB / 0.5247 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.2657, allocations: 10.67 kB / 0.5247 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.2657, allocations: 6.438 kB / 0.5247 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.2659, allocations: 70.95 kB / 0.5248 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2659, allocations: 0 / 0.5248 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.2659, allocations: 9.422 kB / 0.5248 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-06/0.2659, allocations: 0 / 0.5248 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.2661, allocations: 53.84 kB / 0.5249 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.2664, allocations: 324.9 kB / 0.5252 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.2666, allocations: 63.89 kB / 0.5252 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.804e-05/0.2667, allocations: 31.31 kB / 0.5253 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.2667, allocations: 2.969 kB / 0.5253 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.147e-05/0.2667, allocations: 42.5 kB / 0.5253 GB, free: 35.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.2667, allocations: 0 / 0.5253 GB, free: 35.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001251/0.268, allocations: 498.8 kB / 0.5258 GB, free: 35.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.551e-05/0.268, allocations: 55.34 kB / 0.5258 GB, free: 35.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.2681, allocations: 176.6 kB / 0.526 GB, free: 35.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.645e-06/0.2681, allocations: 25.7 kB / 0.526 GB, free: 35.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.045e-05/0.2682, allocations: 102.4 kB / 0.5261 GB, free: 34.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.2682, allocations: 36.94 kB / 0.5262 GB, free: 34.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.2682, allocations: 4 kB / 0.5262 GB, free: 34.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.078e-05/0.2682, allocations: 321.4 kB / 0.5265 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.2684, allocations: 61.81 kB / 0.5265 GB, free: 34.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.2685, allocations: 58.34 kB / 0.5266 GB, free: 34.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.2687, allocations: 146.2 kB / 0.5267 GB, free: 34.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2687, allocations: 0 / 0.5267 GB, free: 34.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002769/0.269, allocations: 181.8 kB / 0.5269 GB, free: 34.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.269, allocations: 9.031 kB / 0.5269 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2691, allocations: 0 / 0.5269 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.2691, allocations: 3.031 kB / 0.5269 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.833e-05/0.2692, allocations: 34.5 kB / 0.5269 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.2692, allocations: 0 / 0.5269 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.525e-05/0.2692, allocations: 16.66 kB / 0.527 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.2693, allocations: 2.812 kB / 0.527 GB, free: 34.43 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.322e-05/0.2694, allocations: 128.5 kB / 0.5271 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.2694, allocations: 17.03 kB / 0.5271 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003415/0.2697, allocations: 200.2 kB / 0.5273 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2697, allocations: 10.88 kB / 0.5273 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2698, allocations: 0 / 0.5273 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2698, allocations: 0 / 0.5273 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005005/0.2703, allocations: 0.5119 MB / 0.5278 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2703, allocations: 0 / 0.5278 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.99e-05/0.2704, allocations: 26.06 kB / 0.5278 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2704, allocations: 6.125 kB / 0.5278 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.2704, allocations: 8.062 kB / 0.5278 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.2704, allocations: 2.625 kB / 0.5278 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2704, allocations: 0 / 0.5278 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.2707, allocations: 293.3 kB / 0.5281 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.2708, allocations: 90.16 kB / 0.5282 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.2708, allocations: 192 / 0.5282 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.651e-05/0.2709, allocations: 22.69 kB / 0.5282 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.2709, allocations: 10.11 kB / 0.5282 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.2709, allocations: 5.844 kB / 0.5282 GB, free: 33.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.253e-05/0.271, allocations: 138.5 kB / 0.5284 GB, free: 33.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.271, allocations: 0 / 0.5284 GB, free: 33.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002241/0.2712, allocations: 28.09 kB / 0.5284 GB, free: 33.4 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.0008577/0.2721, allocations: 0.5202 MB / 0.5289 GB, free: 33.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000317/0.2724, allocations: 144.4 kB / 0.5291 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2724, allocations: 4 kB / 0.5291 GB, free: 33.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.2726, allocations: 78.7 kB / 0.5291 GB, free: 33.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.2729, allocations: 32.62 kB / 0.5292 GB, free: 33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/0.2734, allocations: 323 kB / 0.5295 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.2736, allocations: 0.7117 MB / 0.5302 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.909e-05/0.2736, allocations: 29.72 kB / 0.5302 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.2737, allocations: 17.34 kB / 0.5302 GB, free: 32.06 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2737, allocations: 2.75 kB / 0.5302 GB, free: 32.06 MB / 378.7 MB Notification: Performance of Templates: time 0.003415/0.2771, allocations: 1.504 MB / 0.5317 GB, free: 31.9 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches