Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001434/0.001434, allocations: 191.9 kB / 17.43 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.222/1.222, allocations: 229.5 MB / 247.7 MB, free: 6.285 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000719/0.000719, allocations: 90.31 kB / 299.8 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3031/0.3031, allocations: 45 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002469/0.000247, allocations: 11.98 kB / 470.8 MB, free: 7.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2614, allocations: 63.1 MB / 0.5214 GB, free: 38.48 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.001739/0.2632, allocations: 1.352 MB / 0.5227 GB, free: 37.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.2645, allocations: 1.441 MB / 0.5241 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.2645, allocations: 0 / 0.5241 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.2647, allocations: 23 kB / 0.5241 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.2649, allocations: 66.58 kB / 0.5242 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.2653, allocations: 164.2 kB / 0.5243 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.2654, allocations: 72.92 kB / 0.5244 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.879e-05/0.2655, allocations: 20.08 kB / 0.5244 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.677e-05/0.2655, allocations: 17.25 kB / 0.5245 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.2656, allocations: 41.73 kB / 0.5245 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.2656, allocations: 2.875 kB / 0.5245 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.2658, allocations: 84.45 kB / 0.5246 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.2658, allocations: 9.156 kB / 0.5246 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.2659, allocations: 54.47 kB / 0.5246 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.266, allocations: 144.2 kB / 0.5248 GB, free: 36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2661, allocations: 9.797 kB / 0.5248 GB, free: 35.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2661, allocations: 3.938 kB / 0.5248 GB, free: 35.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.2661, allocations: 0 / 0.5248 GB, free: 35.99 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.0004223/0.2665, allocations: 395 kB / 0.5252 GB, free: 35.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2665, allocations: 10.91 kB / 0.5252 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.2666, allocations: 7.656 kB / 0.5252 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.2667, allocations: 193 kB / 0.5254 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2668, allocations: 8.312 kB / 0.5254 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.2668, allocations: 7 kB / 0.5254 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.267, allocations: 86.97 kB / 0.5255 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.267, allocations: 3.188 kB / 0.5255 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.267, allocations: 0 / 0.5255 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.267, allocations: 0 / 0.5255 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.2672, allocations: 50.5 kB / 0.5255 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.2675, allocations: 311.4 kB / 0.5258 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.2676, allocations: 59.44 kB / 0.5259 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.294e-05/0.2677, allocations: 28.7 kB / 0.5259 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.2677, allocations: 0 / 0.5259 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.2677, allocations: 37.5 kB / 0.5259 GB, free: 34.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.2677, allocations: 4 kB / 0.5259 GB, free: 34.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006583/0.2684, allocations: 259.4 kB / 0.5262 GB, free: 34.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.2684, allocations: 83.25 kB / 0.5263 GB, free: 34.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.2685, allocations: 146.9 kB / 0.5264 GB, free: 34.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.2686, allocations: 29.7 kB / 0.5264 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.95e-05/0.2686, allocations: 100.1 kB / 0.5265 GB, free: 34.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.2686, allocations: 21.66 kB / 0.5265 GB, free: 34.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.2686, allocations: 4 kB / 0.5265 GB, free: 34.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.174e-05/0.2687, allocations: 320.9 kB / 0.5269 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.2688, allocations: 41.27 kB / 0.5269 GB, free: 34.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.2689, allocations: 64.27 kB / 0.527 GB, free: 34.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.2691, allocations: 104.5 kB / 0.5271 GB, free: 34.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.2691, allocations: 0 / 0.5271 GB, free: 34.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002349/0.2693, allocations: 138.7 kB / 0.5272 GB, free: 34.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.2694, allocations: 5.906 kB / 0.5272 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.2694, allocations: 0 / 0.5272 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.2694, allocations: 0 / 0.5272 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.2695, allocations: 30.66 kB / 0.5272 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.2695, allocations: 3.031 kB / 0.5272 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.584e-05/0.2696, allocations: 15.94 kB / 0.5272 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.2696, allocations: 0 / 0.5272 GB, free: 34 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.608e-05/0.2696, allocations: 125.8 kB / 0.5274 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.2697, allocations: 6.781 kB / 0.5274 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.27, allocations: 160.8 kB / 0.5275 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.27, allocations: 7.875 kB / 0.5275 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.27, allocations: 4 kB / 0.5275 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.27, allocations: 3.938 kB / 0.5275 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/0.2704, allocations: 435.9 kB / 0.528 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2704, allocations: 0 / 0.528 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.329e-05/0.2705, allocations: 24.94 kB / 0.528 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2705, allocations: 0 / 0.528 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.2705, allocations: 6.969 kB / 0.528 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2705, allocations: 0 / 0.528 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2705, allocations: 0 / 0.528 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.2708, allocations: 237.7 kB / 0.5282 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.544e-05/0.2708, allocations: 91.34 kB / 0.5283 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.2708, allocations: 10.69 kB / 0.5283 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.447e-05/0.2709, allocations: 12.12 kB / 0.5283 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.271, allocations: 2.875 kB / 0.5283 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.271, allocations: 6.359 kB / 0.5283 GB, free: 33.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.973e-05/0.2711, allocations: 111.3 kB / 0.5284 GB, free: 33.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2711, allocations: 0 / 0.5284 GB, free: 33.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002368/0.2713, allocations: 44.16 kB / 0.5285 GB, free: 33.07 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.0009089/0.2722, allocations: 0.557 MB / 0.529 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.2725, allocations: 104 kB / 0.5291 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2725, allocations: 4 kB / 0.5291 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.2726, allocations: 52.23 kB / 0.5292 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.2729, allocations: 15.5 kB / 0.5292 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.2732, allocations: 231.3 kB / 0.5294 GB, free: 32.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.2733, allocations: 0.7007 MB / 0.5301 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.584e-05/0.2734, allocations: 22.67 kB / 0.5301 GB, free: 31.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.2735, allocations: 22.06 kB / 0.5301 GB, free: 31.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.633e-06/0.2735, allocations: 3.938 kB / 0.5301 GB, free: 31.81 MB / 378.7 MB Notification: Performance of Templates: time 0.003482/0.277, allocations: 1.857 MB / 0.5319 GB, free: 31.59 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches