Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001084, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.001269, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2132/0.2132, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 74.19 kB / 417.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1216, allocations: 62.44 MB / 480 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.00321/0.1249, allocations: 1.588 MB / 481.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000986/0.1259, allocations: 0.5493 MB / 482.2 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.63e-05/0.126, allocations: 4 kB / 482.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.1262, allocations: 27.78 kB / 482.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.1266, allocations: 75.69 kB / 482.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.1269, allocations: 118.7 kB / 482.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.1271, allocations: 67.83 kB / 482.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.099e-05/0.1272, allocations: 11.98 kB / 482.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.705e-05/0.1272, allocations: 23.86 kB / 482.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.1273, allocations: 15.88 kB / 482.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.1273, allocations: 8 kB / 482.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.632e-05/0.1274, allocations: 35.98 kB / 482.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.1275, allocations: 19.97 kB / 482.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.1275, allocations: 19.81 kB / 482.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.1277, allocations: 75.73 kB / 482.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1277, allocations: 3.984 kB / 482.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1277, allocations: 0 / 482.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.1277, allocations: 0 / 482.6 MB, free: 2.652 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004882/0.1282, allocations: 395.4 kB / 483 MB, free: 2.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1282, allocations: 12.02 kB / 483 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.1283, allocations: 12.84 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.1285, allocations: 186.6 kB / 483.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1285, allocations: 4.375 kB / 483.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.1285, allocations: 384 / 483.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1287, allocations: 53.8 kB / 483.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1287, allocations: 0 / 483.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.1287, allocations: 0 / 483.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1287, allocations: 0 / 483.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.665e-05/0.1288, allocations: 31.92 kB / 483.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.1292, allocations: 288.8 kB / 483.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.1295, allocations: 42.5 kB / 483.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.635e-05/0.1296, allocations: 20.94 kB / 483.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1296, allocations: 0 / 483.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.1296, allocations: 38.5 kB / 483.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.1296, allocations: 0 / 483.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005757/0.1302, allocations: 153.3 kB / 483.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.1303, allocations: 51.41 kB / 483.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.1304, allocations: 165.7 kB / 484.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.1304, allocations: 29.7 kB / 484.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.1305, allocations: 104.1 kB / 484.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.1305, allocations: 11.75 kB / 484.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.1306, allocations: 21.66 kB / 484.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1307, allocations: 322.8 kB / 484.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.314e-05/0.1308, allocations: 19.98 kB / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.562e-05/0.1309, allocations: 28.03 kB / 484.6 MB, free: 500 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.131, allocations: 52.83 kB / 484.6 MB, free: 444 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.131, allocations: 4 kB / 484.7 MB, free: 440 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002008/0.1312, allocations: 89.5 kB / 484.7 MB, free: 344 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1312, allocations: 4 kB / 484.7 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1313, allocations: 0 / 484.7 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1313, allocations: 4 kB / 484.7 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.277e-05/0.1313, allocations: 8 kB / 484.8 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1314, allocations: 0 / 484.8 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.1314, allocations: 15.92 kB / 484.8 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1314, allocations: 0 / 484.8 MB, free: 312 kB / 350.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 (5): * Single equations (assignments): 5 * 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 9.01e-05/0.1315, allocations: 117.8 kB / 484.9 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.1316, allocations: 7.906 kB / 484.9 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.1318, allocations: 105.9 kB / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1319, allocations: 0 / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1319, allocations: 0 / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1319, allocations: 7.938 kB / 485 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.1324, allocations: 350.6 kB / 485.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.1324, allocations: 4.297 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.505e-05/0.1324, allocations: 8.281 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1324, allocations: 0 / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.1325, allocations: 15.88 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.1325, allocations: 7.938 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1325, allocations: 4 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.1327, allocations: 183.4 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.1328, allocations: 85 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.1328, allocations: 3.938 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.1329, allocations: 4 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.1329, allocations: 8 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.1329, allocations: 7.984 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.133, allocations: 126.2 kB / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1331, allocations: 0 / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.1333, allocations: 12 kB / 485.8 MB, free: 15.16 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 (5): * Single equations (assignments): 5 * 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.0009211/0.1342, allocations: 399.6 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.1345, allocations: 51.91 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1345, allocations: 4 kB / 486.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.728e-05/0.1345, allocations: 27.97 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.1349, allocations: 19.94 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.1353, allocations: 205.9 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.1356, allocations: 0.704 MB / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.567e-05/0.1357, allocations: 15.97 kB / 487.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.1357, allocations: 15.44 kB / 487.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1357, allocations: 0 / 487.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of Templates: time 0.00405/0.1398, allocations: 1.127 MB / 488.4 MB, free: 12.69 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches