Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001052/0.001052, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001076/0.001076, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2002/0.2002, allocations: 46.11 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 86.06 kB / 417.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1202, allocations: 62.45 MB / 480.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003158/0.1234, allocations: 1.671 MB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.1244, allocations: 0.5961 MB / 482.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.1245, allocations: 0 / 482.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005/0.125, allocations: 459.1 kB / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004101/0.1254, allocations: 291.3 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.1258, allocations: 175.1 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.1261, allocations: 179.7 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1262, allocations: 20.23 kB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.1263, allocations: 123.6 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.1265, allocations: 211.6 kB / 483.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.1266, allocations: 7.984 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1267, allocations: 51.98 kB / 483.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.1268, allocations: 91.69 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.872e-05/0.1269, allocations: 106.9 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002823/0.1272, allocations: 274.9 kB / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1272, allocations: 0 / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1272, allocations: 0 / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1272, allocations: 0 / 484.3 MB, free: 0.9727 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006643/0.1279, allocations: 0.6572 MB / 485 MB, free: 272 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.1279, allocations: 8.031 kB / 485 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.39e-05/0.128, allocations: 44.38 kB / 485 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.1282, allocations: 304.1 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1283, allocations: 4.375 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.1283, allocations: 4.312 kB / 485.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1285, allocations: 73.73 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1285, allocations: 0 / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1285, allocations: 0 / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1285, allocations: 4 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.1287, allocations: 43.95 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.1292, allocations: 424.5 kB / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.1294, allocations: 62.55 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.77e-05/0.1295, allocations: 32.95 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.1295, allocations: 0 / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.1296, allocations: 34.56 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.1296, allocations: 0 / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001551/0.1311, allocations: 0.4883 MB / 486.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.1312, allocations: 63.28 kB / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000903/0.1321, allocations: 0.8614 MB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1321, allocations: 25.7 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.1323, allocations: 223.9 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.1324, allocations: 31.55 kB / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.1324, allocations: 25.72 kB / 487.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.1326, allocations: 366.8 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.1328, allocations: 55.95 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.1329, allocations: 52.02 kB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.1332, allocations: 124.8 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1332, allocations: 0 / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003802/0.1336, allocations: 204.9 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.1337, allocations: 4 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1337, allocations: 4 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1337, allocations: 0 / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.1338, allocations: 31.91 kB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1339, allocations: 0 / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.052e-05/0.1339, allocations: 15.98 kB / 488.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.134, allocations: 0 / 488.5 MB, free: 12.51 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 (11): * Single equations (assignments): 11 * 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.0001902/0.1342, allocations: 221.7 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.1342, allocations: 43.44 kB / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004782/0.1347, allocations: 233.3 kB / 489 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1347, allocations: 3.938 kB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1347, allocations: 3.938 kB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1347, allocations: 7.984 kB / 489 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000806/0.1356, allocations: 0.5975 MB / 489.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1356, allocations: 0 / 489.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.1357, allocations: 36.03 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1357, allocations: 0 / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1357, allocations: 4 kB / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.1357, allocations: 3.938 kB / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1357, allocations: 7.984 kB / 489.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.1361, allocations: 300.6 kB / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.256e-05/0.1362, allocations: 112.7 kB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.1362, allocations: 7.938 kB / 490.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.1364, allocations: 15.98 kB / 490.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.1364, allocations: 11.92 kB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.1364, allocations: 4 kB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005785/0.137, allocations: 0.6511 MB / 490.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.137, allocations: 4 kB / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002859/0.1373, allocations: 39.98 kB / 490.8 MB, free: 10.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001008/0.1383, allocations: 444.3 kB / 491.3 MB, free: 9.828 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003576/0.1387, allocations: 143.8 kB / 491.4 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1387, allocations: 0 / 491.4 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.1389, allocations: 67.89 kB / 491.5 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.1393, allocations: 34.23 kB / 491.5 MB, free: 9.586 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.1405, allocations: 0.883 MB / 492.4 MB, free: 8.672 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.1409, allocations: 0.8338 MB / 493.2 MB, free: 7.812 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.807e-05/0.141, allocations: 32.53 kB / 493.2 MB, free: 7.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.141, allocations: 19.44 kB / 493.3 MB, free: 7.762 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.141, allocations: 0 / 493.3 MB, free: 7.762 MB / 366.1 MB Notification: Performance of Templates: time 0.005239/0.1463, allocations: 1.929 MB / 495.2 MB, free: 5.836 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches