Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2328/0.2328, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 80.42 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.129, allocations: 62.43 MB / 481.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003895/0.133, allocations: 2.038 MB / 483.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.135, allocations: 1.255 MB / 484.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1351, allocations: 0 / 484.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.1354, allocations: 43.59 kB / 484.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005634/0.136, allocations: 211.1 kB / 485 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000939/0.1369, allocations: 440.7 kB / 485.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003638/0.1373, allocations: 287.2 kB / 485.7 MB, free: 276 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.1375, allocations: 64.7 kB / 485.8 MB, free: 212 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.1378, allocations: 135.4 kB / 485.9 MB, free: 76 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003063/0.1381, allocations: 191.2 kB / 486.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.324e-05/0.1381, allocations: 12 kB / 486.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.1383, allocations: 55.98 kB / 486.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.1384, allocations: 143.6 kB / 486.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.1387, allocations: 162.6 kB / 486.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000544/0.1392, allocations: 394.5 kB / 486.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1392, allocations: 0 / 486.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1393, allocations: 0 / 486.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.1393, allocations: 4 kB / 486.8 MB, free: 15.13 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001235/0.1405, allocations: 0.7579 MB / 487.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1406, allocations: 9.109 kB / 487.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003161/0.1409, allocations: 76.25 kB / 487.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008706/0.1418, allocations: 459.7 kB / 488.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.1418, allocations: 8.375 kB / 488.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.1418, allocations: 16.12 kB / 488.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.1421, allocations: 131.1 kB / 488.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.1422, allocations: 0 / 488.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.1422, allocations: 4 kB / 488.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.1422, allocations: 11.88 kB / 488.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.1424, allocations: 75.89 kB / 488.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009926/0.1434, allocations: 0.6682 MB / 489 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.1436, allocations: 109.2 kB / 489.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.705e-05/0.1437, allocations: 49.81 kB / 489.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.1438, allocations: 0 / 489.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.199e-05/0.1438, allocations: 42.5 kB / 489.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.1438, allocations: 0 / 489.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001368/0.1452, allocations: 0.5058 MB / 489.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.1453, allocations: 81.11 kB / 489.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009767/0.1462, allocations: 0.8984 MB / 490.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.1463, allocations: 25.7 kB / 490.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.1465, allocations: 260.3 kB / 491 MB, free: 10.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.645e-05/0.1465, allocations: 51.42 kB / 491 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.751e-05/0.1466, allocations: 33.7 kB / 491.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002298/0.1469, allocations: 378.7 kB / 491.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.147, allocations: 51.95 kB / 491.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.1472, allocations: 77.67 kB / 491.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003035/0.1475, allocations: 137.8 kB / 491.7 MB, free: 9.984 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1475, allocations: 0.75 kB / 491.7 MB, free: 9.984 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004453/0.148, allocations: 220.9 kB / 491.9 MB, free: 9.762 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.148, allocations: 8 kB / 491.9 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.148, allocations: 4 kB / 491.9 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.148, allocations: 0 / 491.9 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.1483, allocations: 39.91 kB / 492 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.1483, allocations: 4 kB / 492 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.1484, allocations: 15.98 kB / 492 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.1484, allocations: 7.984 kB / 492 MB, free: 9.684 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002055/0.1486, allocations: 205.7 kB / 492.2 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.593e-05/0.1487, allocations: 63.23 kB / 492.3 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006443/0.1494, allocations: 266.4 kB / 492.5 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1494, allocations: 0 / 492.5 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1494, allocations: 0 / 492.5 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1494, allocations: 3.984 kB / 492.5 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.1505, allocations: 0.7708 MB / 493.3 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1505, allocations: 7.938 kB / 493.3 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.1507, allocations: 35.97 kB / 493.3 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1507, allocations: 0 / 493.3 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.1507, allocations: 7.984 kB / 493.4 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.1507, allocations: 7.938 kB / 493.4 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1507, allocations: 4 kB / 493.4 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/0.1512, allocations: 392.6 kB / 493.7 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.1514, allocations: 144.4 kB / 493.9 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.1515, allocations: 3.938 kB / 493.9 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.1516, allocations: 23.92 kB / 493.9 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.1517, allocations: 7.984 kB / 493.9 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.1517, allocations: 8 kB / 493.9 MB, free: 7.648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007159/0.1524, allocations: 0.6591 MB / 494.6 MB, free: 6.996 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1525, allocations: 0 / 494.6 MB, free: 6.996 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003445/0.1528, allocations: 55.91 kB / 494.6 MB, free: 6.941 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0009627/0.1538, allocations: 395.4 kB / 495 MB, free: 6.684 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004096/0.1542, allocations: 143.8 kB / 495.2 MB, free: 6.543 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1542, allocations: 0 / 495.2 MB, free: 6.543 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.1544, allocations: 79.89 kB / 495.2 MB, free: 6.465 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/0.1549, allocations: 77.03 kB / 495.3 MB, free: 6.395 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.1563, allocations: 0.8967 MB / 496.2 MB, free: 5.469 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.1567, allocations: 0.8614 MB / 497.1 MB, free: 4.578 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001669/0.1569, allocations: 82.91 kB / 497.2 MB, free: 4.496 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.042e-05/0.157, allocations: 35.42 kB / 497.2 MB, free: 4.461 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.157, allocations: 0 / 497.2 MB, free: 4.461 MB / 366.1 MB Notification: Performance of Templates: time 0.008145/0.1652, allocations: 3.998 MB / 0.4894 GB, free: 492 kB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches