Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 191.5 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.216/1.216, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008329/0.0008326, allocations: 99.64 kB / 299.8 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2865/0.2865, allocations: 45.01 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002342/0.0002342, allocations: 8 kB / 470.8 MB, free: 7.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2587, allocations: 63.09 MB / 0.5214 GB, free: 38.41 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.001409/0.2602, allocations: 1.309 MB / 0.5226 GB, free: 37.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006941/0.2609, allocations: 0.7541 MB / 0.5234 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.103e-05/0.2609, allocations: 3.938 kB / 0.5234 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.2613, allocations: 448.2 kB / 0.5238 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.2616, allocations: 276.2 kB / 0.5241 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.2619, allocations: 158.5 kB / 0.5242 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.2621, allocations: 161.4 kB / 0.5244 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.726e-05/0.2622, allocations: 14.41 kB / 0.5244 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.099e-05/0.2622, allocations: 98.05 kB / 0.5245 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.2624, allocations: 204 kB / 0.5247 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.2624, allocations: 0 / 0.5247 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.306e-05/0.2625, allocations: 37.41 kB / 0.5247 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.704e-05/0.2626, allocations: 81.69 kB / 0.5248 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.659e-05/0.2626, allocations: 126.3 kB / 0.5249 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.2628, allocations: 234.2 kB / 0.5251 GB, free: 36.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2628, allocations: 0 / 0.5251 GB, free: 36.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2628, allocations: 0 / 0.5251 GB, free: 36.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.2628, allocations: 0 / 0.5251 GB, free: 36.38 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004098/0.2632, allocations: 0.5834 MB / 0.5257 GB, free: 35.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.2633, allocations: 8.875 kB / 0.5257 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.2633, allocations: 46.34 kB / 0.5258 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.2635, allocations: 300.1 kB / 0.526 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.2635, allocations: 384 / 0.526 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.2635, allocations: 3.312 kB / 0.5261 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.2637, allocations: 51.61 kB / 0.5261 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.2637, allocations: 2.75 kB / 0.5261 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.2637, allocations: 4 kB / 0.5261 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.2637, allocations: 0 / 0.5261 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.568e-05/0.2638, allocations: 28.16 kB / 0.5261 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.2641, allocations: 394.8 kB / 0.5265 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.527e-05/0.2642, allocations: 29.69 kB / 0.5265 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.761e-05/0.2642, allocations: 21.48 kB / 0.5266 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.2643, allocations: 0 / 0.5266 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.2643, allocations: 36.8 kB / 0.5266 GB, free: 35.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.2643, allocations: 3.938 kB / 0.5266 GB, free: 35.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.000203/0.2645, allocations: 115 kB / 0.5267 GB, free: 35.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.529e-05/0.2645, allocations: 51.41 kB / 0.5268 GB, free: 34.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000578/0.2651, allocations: 0.8663 MB / 0.5276 GB, free: 34.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.76e-06/0.2651, allocations: 25.7 kB / 0.5276 GB, free: 34.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.2652, allocations: 222.6 kB / 0.5278 GB, free: 34.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.089e-05/0.2652, allocations: 7.141 kB / 0.5278 GB, free: 34.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.2652, allocations: 0 / 0.5278 GB, free: 34.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.2653, allocations: 366.8 kB / 0.5282 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.032e-05/0.2654, allocations: 13.31 kB / 0.5282 GB, free: 34.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.982e-05/0.2654, allocations: 12.56 kB / 0.5282 GB, free: 34.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.503e-05/0.2655, allocations: 33 kB / 0.5283 GB, free: 34.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2655, allocations: 0 / 0.5283 GB, free: 34.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001128/0.2656, allocations: 105.2 kB / 0.5284 GB, free: 34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/0.2656, allocations: 2.969 kB / 0.5284 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.2656, allocations: 0 / 0.5284 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.2656, allocations: 2.719 kB / 0.5284 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.073e-05/0.2657, allocations: 5.906 kB / 0.5284 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.2657, allocations: 0 / 0.5284 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.091e-05/0.2657, allocations: 9.828 kB / 0.5284 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.2657, allocations: 4 kB / 0.5284 GB, free: 33.99 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 (2): * Single equations (assignments): 2 * 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.0001125/0.2659, allocations: 214.5 kB / 0.5286 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.2659, allocations: 48.03 kB / 0.5286 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.2661, allocations: 115.9 kB / 0.5287 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2661, allocations: 2.906 kB / 0.5287 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.2661, allocations: 0 / 0.5287 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2661, allocations: 0 / 0.5287 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.2663, allocations: 288.6 kB / 0.529 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.2663, allocations: 4.031 kB / 0.529 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.191e-05/0.2663, allocations: 8.5 kB / 0.529 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.2663, allocations: 0 / 0.529 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.2663, allocations: 0 / 0.529 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2664, allocations: 0 / 0.529 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2664, allocations: 2.719 kB / 0.529 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.2665, allocations: 194.5 kB / 0.5292 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.2665, allocations: 113 kB / 0.5293 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.2666, allocations: 6.938 kB / 0.5293 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.538e-05/0.2666, allocations: 0 / 0.5293 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.2667, allocations: 2.781 kB / 0.5293 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.2667, allocations: 0 / 0.5293 GB, free: 33.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004296/0.2671, allocations: 0.6582 MB / 0.53 GB, free: 33 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2671, allocations: 0 / 0.53 GB, free: 33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002024/0.2673, allocations: 14.88 kB / 0.53 GB, free: 33 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 (2): * Single equations (assignments): 2 * 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.0006467/0.268, allocations: 398.4 kB / 0.5304 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.2681, allocations: 32.12 kB / 0.5304 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2681, allocations: 0 / 0.5304 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.932e-05/0.2682, allocations: 17.48 kB / 0.5304 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.2685, allocations: 30.98 kB / 0.5304 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007378/0.2692, allocations: 0.8522 MB / 0.5313 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.2694, allocations: 0.8285 MB / 0.5321 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.668e-05/0.2695, allocations: 9.75 kB / 0.5321 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.932e-05/0.2695, allocations: 11 kB / 0.5321 GB, free: 31.58 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2695, allocations: 0 / 0.5321 GB, free: 31.58 MB / 378.7 MB Notification: Performance of Templates: time 0.003486/0.273, allocations: 1.205 MB / 0.5333 GB, free: 31.41 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches