Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001524/0.001524, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001868/0.001868, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.3 MB, free: 9.145 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2495/0.2495, allocations: 46.11 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 76.88 kB / 416.8 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1304, allocations: 62.45 MB / 479.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003236/0.1337, allocations: 1.676 MB / 481 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1348, allocations: 0.5378 MB / 481.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.596e-05/0.1348, allocations: 3.938 kB / 481.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.1352, allocations: 127.7 kB / 481.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.1355, allocations: 111.7 kB / 481.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.1358, allocations: 103.8 kB / 481.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.136, allocations: 91.8 kB / 481.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1362, allocations: 19.98 kB / 482 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.798e-05/0.1363, allocations: 39.83 kB / 482 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.1364, allocations: 83.78 kB / 482.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.1364, allocations: 7.938 kB / 482.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1365, allocations: 43.97 kB / 482.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.287e-05/0.1366, allocations: 27.86 kB / 482.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.658e-05/0.1367, allocations: 35.69 kB / 482.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.1369, allocations: 119.6 kB / 482.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1369, allocations: 0 / 482.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1369, allocations: 0 / 482.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1369, allocations: 0 / 482.3 MB, free: 2.68 MB / 350.1 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.000556/0.1375, allocations: 443.1 kB / 482.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1375, allocations: 8.875 kB / 482.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.1376, allocations: 16.75 kB / 482.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.1378, allocations: 204 kB / 483 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1378, allocations: 4.375 kB / 483 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.1378, allocations: 384 / 483 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.138, allocations: 61.8 kB / 483 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.138, allocations: 0 / 483 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.138, allocations: 0 / 483 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.138, allocations: 4 kB / 483 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1382, allocations: 27.97 kB / 483.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.1386, allocations: 324.6 kB / 483.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.1387, allocations: 42.5 kB / 483.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.756e-05/0.1388, allocations: 28.94 kB / 483.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.1388, allocations: 4 kB / 483.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.1388, allocations: 30.56 kB / 483.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.1389, allocations: 0 / 483.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009638/0.1398, allocations: 252.9 kB / 483.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.1399, allocations: 51.41 kB / 483.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.1402, allocations: 279.7 kB / 484 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.1402, allocations: 25.7 kB / 484.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.1403, allocations: 120.1 kB / 484.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.1403, allocations: 27.67 kB / 484.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.1404, allocations: 21.72 kB / 484.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1405, allocations: 330.8 kB / 484.6 MB, free: 212 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.1406, allocations: 31.98 kB / 484.6 MB, free: 180 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.393e-05/0.1407, allocations: 35.91 kB / 484.6 MB, free: 144 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.1409, allocations: 69.06 kB / 484.7 MB, free: 72 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1409, allocations: 0 / 484.7 MB, free: 72 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002713/0.1412, allocations: 113.5 kB / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1412, allocations: 15.98 kB / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1412, allocations: 0 / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1412, allocations: 0 / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.1414, allocations: 12 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1414, allocations: 3.984 kB / 484.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.947e-05/0.1414, allocations: 7.938 kB / 484.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1415, allocations: 8 kB / 484.9 MB, free: 15.91 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 (8): * Single equations (assignments): 8 * 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.0001225/0.1416, allocations: 133.8 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.1416, allocations: 19.81 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/0.1419, allocations: 139.3 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.142, allocations: 0 / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.142, allocations: 0 / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.142, allocations: 3.938 kB / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006015/0.1426, allocations: 443.1 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1426, allocations: 0 / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.602e-05/0.1427, allocations: 15.98 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.57e-05/0.1427, allocations: 7.938 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1427, allocations: 4 kB / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1427, allocations: 0 / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1427, allocations: 0 / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.143, allocations: 224.1 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.1431, allocations: 96.84 kB / 485.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.1431, allocations: 0 / 485.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.976e-05/0.1432, allocations: 8 kB / 485.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.1432, allocations: 7.984 kB / 485.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.1432, allocations: 8 kB / 485.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001844/0.1434, allocations: 201.5 kB / 486.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1434, allocations: 4 kB / 486.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.1438, allocations: 27.98 kB / 486.2 MB, free: 14.48 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 (8): * Single equations (assignments): 8 * 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.001085/0.1448, allocations: 450.5 kB / 486.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002578/0.1451, allocations: 83.88 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1451, allocations: 0 / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.1453, allocations: 43.91 kB / 486.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.1457, allocations: 15.94 kB / 486.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006667/0.1464, allocations: 350.1 kB / 487.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.1467, allocations: 0.7239 MB / 487.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.373e-05/0.1468, allocations: 20.64 kB / 487.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.1469, allocations: 11.44 kB / 487.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1469, allocations: 0 / 487.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of Templates: time 0.00444/0.1513, allocations: 1.377 MB / 489.2 MB, free: 11.53 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches