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.001043/0.001043, allocations: 95.81 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001638/0.001638, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2321/0.2321, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002593/0.0002594, allocations: 8 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1249, allocations: 63.56 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.00232/0.1272, allocations: 1.334 MB / 484.4 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.1284, allocations: 0.5301 MB / 484.9 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.521e-05/0.1285, allocations: 4 kB / 485 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.1288, allocations: 123.7 kB / 485.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.1291, allocations: 107.8 kB / 485.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.1295, allocations: 107.8 kB / 485.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.1297, allocations: 83.86 kB / 485.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1298, allocations: 19.98 kB / 485.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.829e-05/0.1299, allocations: 47.77 kB / 485.4 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.13, allocations: 75.8 kB / 485.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.13, allocations: 4 kB / 485.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1301, allocations: 35.97 kB / 485.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.81e-05/0.1302, allocations: 27.86 kB / 485.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.287e-05/0.1303, allocations: 69.38 kB / 485.6 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.1305, allocations: 115.6 kB / 485.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1305, allocations: 0 / 485.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1305, allocations: 4 kB / 485.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1305, allocations: 0 / 485.8 MB, free: 1.453 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.0005305/0.131, allocations: 415.1 kB / 486.2 MB, free: 1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1311, allocations: 8.875 kB / 486.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.634e-05/0.1312, allocations: 16.83 kB / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.1314, allocations: 211.9 kB / 486.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1314, allocations: 4.375 kB / 486.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.1314, allocations: 12.36 kB / 486.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.1316, allocations: 49.81 kB / 486.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1316, allocations: 0 / 486.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1316, allocations: 8 kB / 486.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1316, allocations: 0 / 486.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.1318, allocations: 35.91 kB / 486.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.1322, allocations: 316.7 kB / 486.8 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.1324, allocations: 50.55 kB / 486.9 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.1324, allocations: 20.8 kB / 486.9 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.1325, allocations: 4 kB / 486.9 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.1325, allocations: 42.58 kB / 486.9 MB, free: 124 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1325, allocations: 0 / 486.9 MB, free: 124 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001068/0.1336, allocations: 280.9 kB / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.1337, allocations: 51.41 kB / 487.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.134, allocations: 283.7 kB / 487.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.134, allocations: 29.7 kB / 487.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/0.1341, allocations: 116.1 kB / 487.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.1341, allocations: 27.61 kB / 487.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.1342, allocations: 9.719 kB / 487.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1343, allocations: 330.8 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.1344, allocations: 39.97 kB / 488.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.773e-05/0.1345, allocations: 28.06 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.1347, allocations: 88.8 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1347, allocations: 3.938 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002433/0.1349, allocations: 121.5 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.135, allocations: 4 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.135, allocations: 0 / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.135, allocations: 4 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1351, allocations: 19.98 kB / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1351, allocations: 4 kB / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.494e-05/0.1352, allocations: 11.92 kB / 488.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.1352, allocations: 0 / 488.3 MB, free: 14.63 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.0001043/0.1353, allocations: 141.8 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.1354, allocations: 11.81 kB / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003069/0.1357, allocations: 147 kB / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1357, allocations: 4 kB / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1357, allocations: 0 / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1357, allocations: 3.938 kB / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005464/0.1363, allocations: 435.7 kB / 489.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1363, allocations: 7.938 kB / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.384e-05/0.1364, allocations: 20.41 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.1364, allocations: 7.938 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1364, allocations: 0 / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1364, allocations: 3.938 kB / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1364, allocations: 4.031 kB / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.1367, allocations: 232.2 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.932e-05/0.1368, allocations: 100.8 kB / 489.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.1368, allocations: 7.984 kB / 489.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/0.1369, allocations: 4 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.1369, allocations: 7.984 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.1369, allocations: 8 kB / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001684/0.1371, allocations: 205.5 kB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1371, allocations: 0 / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.1374, allocations: 27.98 kB / 489.7 MB, free: 13.17 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.001186/0.1386, allocations: 447.5 kB / 490.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002773/0.1389, allocations: 87.94 kB / 490.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1389, allocations: 0 / 490.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.139, allocations: 43.92 kB / 490.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.1394, allocations: 19.92 kB / 490.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006615/0.1401, allocations: 363.5 kB / 490.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.1404, allocations: 0.7257 MB / 491.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.528e-05/0.1405, allocations: 24.89 kB / 491.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.1405, allocations: 11.44 kB / 491.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1405, allocations: 0 / 491.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of Templates: time 0.004181/0.1447, allocations: 1.35 MB / 492.7 MB, free: 10.22 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