Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20") translateModel(ModelicaTest.Tables.CombiTable2D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000925/0.0009251, allocations: 95.73 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001165, allocations: 169.4 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.4 MB / 222.7 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2886/0.2886, allocations: 43.55 MB / 314.5 MB, free: 9.008 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005076/0.0005077, allocations: 15.98 kB / 383.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1129, allocations: 58.86 MB / 442.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.002648/0.1156, allocations: 1.611 MB / 444.4 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.1169, allocations: 0.5499 MB / 444.9 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.117, allocations: 0 / 444.9 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000504/0.1175, allocations: 235.4 kB / 445.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.1179, allocations: 175.5 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009602/0.1188, allocations: 399.2 kB / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003705/0.1192, allocations: 183.6 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.1194, allocations: 52.7 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.1195, allocations: 107.6 kB / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.1197, allocations: 135.5 kB / 446.2 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.1197, allocations: 4 kB / 446.2 MB, free: 9.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.1199, allocations: 51.84 kB / 446.2 MB, free: 9.816 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.12, allocations: 75.73 kB / 446.3 MB, free: 9.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.417e-05/0.1201, allocations: 65.52 kB / 446.4 MB, free: 9.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.1203, allocations: 219.8 kB / 446.6 MB, free: 9.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1203, allocations: 0 / 446.6 MB, free: 9.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1204, allocations: 3.938 kB / 446.6 MB, free: 9.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1204, allocations: 0 / 446.6 MB, free: 9.453 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007268/0.1211, allocations: 0.6029 MB / 447.2 MB, free: 8.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1211, allocations: 12.03 kB / 447.2 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.956e-05/0.1212, allocations: 43.47 kB / 447.2 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.1216, allocations: 297.2 kB / 447.5 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.1216, allocations: 8 kB / 447.5 MB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.1216, allocations: 12 kB / 447.5 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.1219, allocations: 105.6 kB / 447.7 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.1219, allocations: 7.938 kB / 447.7 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.122, allocations: 7.984 kB / 447.7 MB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.122, allocations: 4 kB / 447.7 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.1221, allocations: 75.91 kB / 447.7 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006808/0.1228, allocations: 488.3 kB / 448.2 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.123, allocations: 106.5 kB / 448.3 MB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.1231, allocations: 4.203 kB / 448.3 MB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1231, allocations: 42.48 kB / 448.4 MB, free: 7.496 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.183e-06/0.1231, allocations: 0 / 448.4 MB, free: 7.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008982/0.124, allocations: 387.9 kB / 448.7 MB, free: 7.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.1241, allocations: 51.41 kB / 448.8 MB, free: 7.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005687/0.1246, allocations: 0.5448 MB / 449.3 MB, free: 6.488 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.1247, allocations: 25.7 kB / 449.4 MB, free: 6.457 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.1248, allocations: 216.3 kB / 449.6 MB, free: 6.238 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.1249, allocations: 59.09 kB / 449.6 MB, free: 6.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.1249, allocations: 4 kB / 449.6 MB, free: 6.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.125, allocations: 350.8 kB / 450 MB, free: 5.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.1251, allocations: 59.84 kB / 450 MB, free: 5.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.996e-05/0.1252, allocations: 55.97 kB / 450.1 MB, free: 5.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.1254, allocations: 63.42 kB / 450.2 MB, free: 5.652 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1254, allocations: 0 / 450.2 MB, free: 5.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000312/0.1257, allocations: 197 kB / 450.4 MB, free: 5.453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1257, allocations: 8 kB / 450.4 MB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1257, allocations: 0 / 450.4 MB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1257, allocations: 0 / 450.4 MB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.1259, allocations: 43.97 kB / 450.4 MB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1259, allocations: 0 / 450.4 MB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.484e-05/0.126, allocations: 11.95 kB / 450.4 MB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.126, allocations: 4 kB / 450.4 MB, free: 5.387 MB / 382.1 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001618/0.1262, allocations: 185.7 kB / 450.6 MB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.1262, allocations: 35.53 kB / 450.6 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004189/0.1267, allocations: 241.4 kB / 450.9 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1267, allocations: 0 / 450.9 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1267, allocations: 0 / 450.9 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1267, allocations: 4 kB / 450.9 MB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007471/0.1274, allocations: 0.6344 MB / 451.5 MB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1275, allocations: 4 kB / 451.5 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.1276, allocations: 39.92 kB / 451.6 MB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1276, allocations: 0 / 451.6 MB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.1276, allocations: 7.953 kB / 451.6 MB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.1276, allocations: 8 kB / 451.6 MB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1276, allocations: 0 / 451.6 MB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.128, allocations: 306.9 kB / 451.9 MB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.809e-05/0.1281, allocations: 120.6 kB / 452 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.1281, allocations: 8 kB / 452 MB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.908e-05/0.1282, allocations: 11.95 kB / 452 MB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.1283, allocations: 11.98 kB / 452 MB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.1283, allocations: 4 kB / 452 MB, free: 3.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003897/0.1287, allocations: 415 kB / 452.4 MB, free: 3.277 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1287, allocations: 4 kB / 452.4 MB, free: 3.273 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000295/0.129, allocations: 43.98 kB / 452.5 MB, free: 3.23 MB / 382.1 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001411/0.1304, allocations: 0.6919 MB / 453.2 MB, free: 2.566 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002991/0.1307, allocations: 147.7 kB / 453.3 MB, free: 2.422 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1308, allocations: 0 / 453.3 MB, free: 2.422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.1309, allocations: 79.89 kB / 453.4 MB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.1313, allocations: 53.52 kB / 453.4 MB, free: 2.293 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009267/0.1323, allocations: 0.7012 MB / 454.1 MB, free: 1.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.1326, allocations: 0.8145 MB / 455 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.1328, allocations: 49.91 kB / 455 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.1328, allocations: 35.42 kB / 455 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1328, allocations: 0 / 455 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of Templates: time 0.19/0.3228, allocations: 3.124 MB / 458.2 MB, free: 46.26 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches