Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001547/0.001547, allocations: 103.8 kB / 17.63 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 206.4 kB / 18.58 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2166/0.2166, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 91.22 kB / 417.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1204, allocations: 62.44 MB / 480 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003531/0.124, allocations: 2.039 MB / 482.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.1259, allocations: 1.025 MB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.126, allocations: 4 kB / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004656/0.1265, allocations: 255.1 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004965/0.127, allocations: 259.1 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.128, allocations: 489 kB / 484.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.1284, allocations: 323.2 kB / 484.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.1286, allocations: 76.67 kB / 484.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.1287, allocations: 139.4 kB / 484.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.129, allocations: 199.3 kB / 484.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.129, allocations: 8 kB / 484.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.1292, allocations: 107.9 kB / 484.9 MB, free: 432 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.1293, allocations: 91.67 kB / 485 MB, free: 340 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.472e-05/0.1294, allocations: 130.9 kB / 485.1 MB, free: 208 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.1298, allocations: 327.1 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.798e-05/0.1298, allocations: 0 / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1298, allocations: 0 / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1299, allocations: 0 / 485.4 MB, free: 15.88 MB / 366.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.0007461/0.1306, allocations: 0.6573 MB / 486.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.1307, allocations: 9.109 kB / 486.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.867e-05/0.1307, allocations: 40.47 kB / 486.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.1311, allocations: 318.1 kB / 486.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.1311, allocations: 8.375 kB / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.1311, allocations: 16.28 kB / 486.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.1314, allocations: 105.8 kB / 486.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.1314, allocations: 4 kB / 486.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.1314, allocations: 4 kB / 486.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1314, allocations: 8 kB / 486.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.1316, allocations: 67.89 kB / 486.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006451/0.1323, allocations: 492.2 kB / 487.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.1325, allocations: 94.48 kB / 487.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.328e-05/0.1325, allocations: 36.84 kB / 487.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.1326, allocations: 7.984 kB / 487.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.1326, allocations: 34.56 kB / 487.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.1326, allocations: 0 / 487.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009565/0.1336, allocations: 392.4 kB / 487.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.1336, allocations: 55.41 kB / 487.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005853/0.1342, allocations: 0.5643 MB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1342, allocations: 29.7 kB / 488.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.1344, allocations: 200.3 kB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.1344, allocations: 51.27 kB / 488.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.1345, allocations: 33.7 kB / 488.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1347, allocations: 354.8 kB / 489 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.1348, allocations: 51.97 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.1349, allocations: 55.88 kB / 489.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.1351, allocations: 115 kB / 489.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1351, allocations: 3.938 kB / 489.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003429/0.1355, allocations: 203.2 kB / 489.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1355, allocations: 8 kB / 489.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1355, allocations: 0 / 489.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1356, allocations: 0 / 489.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.1357, allocations: 35.97 kB / 489.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1357, allocations: 0 / 489.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.918e-05/0.1358, allocations: 11.94 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.1358, allocations: 4 kB / 489.4 MB, free: 11.65 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000174/0.136, allocations: 185.6 kB / 489.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.1361, allocations: 51.42 kB / 489.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004469/0.1365, allocations: 229.6 kB / 489.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1366, allocations: 0 / 489.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1366, allocations: 0 / 489.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1366, allocations: 3.984 kB / 489.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007757/0.1374, allocations: 0.6296 MB / 490.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1374, allocations: 0 / 490.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.1375, allocations: 35.92 kB / 490.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1375, allocations: 0 / 490.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1375, allocations: 4 kB / 490.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1375, allocations: 4 kB / 490.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1375, allocations: 3.938 kB / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.1379, allocations: 298.8 kB / 490.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.138, allocations: 108.7 kB / 491 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.1381, allocations: 3.938 kB / 491 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.491e-05/0.1382, allocations: 8 kB / 491 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.1382, allocations: 15.86 kB / 491 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.1382, allocations: 7.984 kB / 491 MB, free: 9.965 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003993/0.1386, allocations: 427.1 kB / 491.4 MB, free: 9.551 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1386, allocations: 0 / 491.4 MB, free: 9.551 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003059/0.139, allocations: 55.89 kB / 491.5 MB, free: 9.496 MB / 366.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 (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.001723/0.1407, allocations: 0.6832 MB / 492.2 MB, free: 9.086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003325/0.141, allocations: 135.9 kB / 492.3 MB, free: 8.953 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.141, allocations: 4 kB / 492.3 MB, free: 8.949 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.1412, allocations: 75.91 kB / 492.4 MB, free: 8.875 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005654/0.1418, allocations: 85.95 kB / 492.5 MB, free: 8.805 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.143, allocations: 0.69 MB / 493.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.1434, allocations: 0.8143 MB / 494 MB, free: 7.246 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.1435, allocations: 45.91 kB / 494 MB, free: 7.203 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.845e-05/0.1435, allocations: 35.38 kB / 494.1 MB, free: 7.168 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1435, allocations: 3.938 kB / 494.1 MB, free: 7.164 MB / 366.1 MB Notification: Performance of Templates: time 0.007163/0.1507, allocations: 3.259 MB / 497.3 MB, free: 3.918 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches