Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009338/0.0009337, 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.231/1.231, 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.0007095/0.0007096, allocations: 95.78 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.2906/0.2906, allocations: 45.01 MB / 397 MB, free: 31.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002418/0.000242, allocations: 8 kB / 470.8 MB, free: 7.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2654, allocations: 63.11 MB / 0.5214 GB, free: 38.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.001436/0.2669, allocations: 1.342 MB / 0.5227 GB, free: 37.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006186/0.2675, allocations: 0.8155 MB / 0.5235 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.283e-05/0.2675, allocations: 0 / 0.5235 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.2677, allocations: 26.3 kB / 0.5235 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.2679, allocations: 39.84 kB / 0.5235 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.726e-06/0.2679, allocations: 4 kB / 0.5236 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.268, allocations: 54.47 kB / 0.5236 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.028e-05/0.268, allocations: 0 / 0.5236 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.035e-05/0.2681, allocations: 15.78 kB / 0.5236 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.768e-05/0.2681, allocations: 20.09 kB / 0.5236 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.2681, allocations: 0 / 0.5236 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.769e-05/0.2682, allocations: 12.03 kB / 0.5236 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.712e-05/0.2682, allocations: 15.19 kB / 0.5237 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.2683, allocations: 54.73 kB / 0.5237 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.35e-05/0.2684, allocations: 67.39 kB / 0.5238 GB, free: 36.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2684, allocations: 6.406 kB / 0.5238 GB, free: 36.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2684, allocations: 0 / 0.5238 GB, free: 36.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.035e-06/0.2684, allocations: 0 / 0.5238 GB, free: 36.66 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002202/0.2686, allocations: 348 kB / 0.5241 GB, free: 36.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2686, allocations: 8.062 kB / 0.5241 GB, free: 36.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.2687, allocations: 7.406 kB / 0.5241 GB, free: 36.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.2688, allocations: 170.1 kB / 0.5243 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.2688, allocations: 6.984 kB / 0.5243 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.2688, allocations: 4.375 kB / 0.5243 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.269, allocations: 120.7 kB / 0.5244 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.269, allocations: 192 / 0.5244 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.036e-06/0.269, allocations: 3.938 kB / 0.5244 GB, free: 35.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/0.269, allocations: 30.77 kB / 0.5245 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.943e-05/0.2691, allocations: 46 kB / 0.5245 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.2695, allocations: 0.8949 MB / 0.5254 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.098e-05/0.2696, allocations: 168 kB / 0.5255 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.438e-05/0.2696, allocations: 88.08 kB / 0.5256 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.2696, allocations: 79.22 kB / 0.5257 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.2696, allocations: 105.8 kB / 0.5258 GB, free: 34.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/0.2696, allocations: 4.094 kB / 0.5258 GB, free: 34.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 5.77e-05/0.2697, allocations: 41.75 kB / 0.5258 GB, free: 34.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.2697, allocations: 126.7 kB / 0.526 GB, free: 34.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.2699, allocations: 189.5 kB / 0.5261 GB, free: 34.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.759e-06/0.2699, allocations: 25.7 kB / 0.5262 GB, free: 34.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.2699, allocations: 146.3 kB / 0.5263 GB, free: 34.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.2699, allocations: 0 / 0.5263 GB, free: 34.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.2699, allocations: 6.906 kB / 0.5263 GB, free: 34.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.118e-05/0.27, allocations: 325 kB / 0.5266 GB, free: 33.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.553e-05/0.27, allocations: 31.25 kB / 0.5266 GB, free: 33.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.752e-05/0.2701, allocations: 162.4 kB / 0.5268 GB, free: 33.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.2702, allocations: 197.8 kB / 0.527 GB, free: 33.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2702, allocations: 0 / 0.527 GB, free: 33.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002232/0.2705, allocations: 205 kB / 0.5272 GB, free: 33.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.2705, allocations: 5.219 kB / 0.5272 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2705, allocations: 5.812 kB / 0.5272 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.2705, allocations: 9.281 kB / 0.5272 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.947e-05/0.2706, allocations: 42 kB / 0.5272 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.2706, allocations: 8.641 kB / 0.5273 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.661e-05/0.2707, allocations: 16.69 kB / 0.5273 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.2707, allocations: 12.25 kB / 0.5273 GB, free: 33.29 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.562e-05/0.2708, allocations: 213.2 kB / 0.5275 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.2708, allocations: 117.9 kB / 0.5276 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.2709, allocations: 121.5 kB / 0.5277 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/0.2709, allocations: 180.2 kB / 0.5279 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.177e-05/0.2709, allocations: 178.8 kB / 0.5281 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-05/0.271, allocations: 176.3 kB / 0.5282 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.2711, allocations: 428.5 kB / 0.5286 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/0.2711, allocations: 108.1 kB / 0.5287 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.321e-05/0.2711, allocations: 108.9 kB / 0.5288 GB, free: 31.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-05/0.2711, allocations: 178.9 kB / 0.529 GB, free: 31.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.2712, allocations: 184.3 kB / 0.5292 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-05/0.2712, allocations: 183.6 kB / 0.5294 GB, free: 31.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-05/0.2712, allocations: 178.8 kB / 0.5295 GB, free: 30.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.043e-05/0.2713, allocations: 317 kB / 0.5298 GB, free: 30.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.2713, allocations: 192 kB / 0.53 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.2714, allocations: 183.1 kB / 0.5302 GB, free: 30.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.347e-05/0.2714, allocations: 101 kB / 0.5303 GB, free: 30.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.2715, allocations: 186.3 kB / 0.5305 GB, free: 29.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.2715, allocations: 108.9 kB / 0.5306 GB, free: 29.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.483e-05/0.2716, allocations: 128.4 kB / 0.5307 GB, free: 29.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2716, allocations: 3.375 kB / 0.5307 GB, free: 29.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002434/0.2718, allocations: 15.22 kB / 0.5307 GB, free: 29.69 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 (0): * Single equations (assignments): 0 * 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.0003744/0.2722, allocations: 299.1 kB / 0.531 GB, free: 29.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.2723, allocations: 79.91 kB / 0.5311 GB, free: 29.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2723, allocations: 0 / 0.5311 GB, free: 29.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.2723, allocations: 0 / 0.5311 GB, free: 29.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.2726, allocations: 0.5339 MB / 0.5316 GB, free: 28.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002176/0.2728, allocations: 262 kB / 0.5318 GB, free: 28.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.2729, allocations: 0.6987 MB / 0.5325 GB, free: 27.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.2731, allocations: 51.06 kB / 0.5326 GB, free: 27.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.759e-05/0.2731, allocations: 13.41 kB / 0.5326 GB, free: 27.95 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2731, allocations: 2.812 kB / 0.5326 GB, free: 27.95 MB / 378.7 MB Notification: Performance of Templates: time 0.002141/0.2752, allocations: 0.6707 MB / 0.5332 GB, free: 27.86 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches