Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009776/0.0009776, allocations: 103.9 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.00101/0.00101, allocations: 206.4 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.382/1.382, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 69.98 kB / 417.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.131, allocations: 62.45 MB / 480 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003271/0.1344, allocations: 1.671 MB / 481.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1354, allocations: 0.5805 MB / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.1355, allocations: 4 kB / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.1358, allocations: 47.73 kB / 482.3 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.1361, allocations: 99.61 kB / 482.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.1365, allocations: 183.1 kB / 482.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.1367, allocations: 87.77 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1368, allocations: 16.23 kB / 482.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.8e-05/0.1369, allocations: 43.83 kB / 482.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.137, allocations: 43.83 kB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.137, allocations: 4 kB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.1371, allocations: 47.98 kB / 482.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.406e-05/0.1372, allocations: 23.92 kB / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.789e-05/0.1373, allocations: 43.72 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.1374, allocations: 103.7 kB / 483 MB, free: 2.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1375, allocations: 0 / 483 MB, free: 2.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1375, allocations: 3.938 kB / 483 MB, free: 2.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1375, allocations: 0 / 483 MB, free: 2.266 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.0005407/0.138, allocations: 415.3 kB / 483.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1381, allocations: 8.031 kB / 483.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.1381, allocations: 16.83 kB / 483.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.1383, allocations: 192.1 kB / 483.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1383, allocations: 16.31 kB / 483.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1384, allocations: 4.375 kB / 483.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.1385, allocations: 69.72 kB / 483.7 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.1386, allocations: 4 kB / 483.7 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1386, allocations: 7.938 kB / 483.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1386, allocations: 0 / 483.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.1388, allocations: 35.97 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.1392, allocations: 328.6 kB / 484.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.1395, allocations: 54.55 kB / 484.1 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.113e-05/0.1396, allocations: 32.95 kB / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.1396, allocations: 4 kB / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.1396, allocations: 30.56 kB / 484.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.1396, allocations: 0 / 484.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001491/0.1411, allocations: 425.4 kB / 484.6 MB, free: 500 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.1412, allocations: 67.34 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.1414, allocations: 178.9 kB / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.1414, allocations: 25.7 kB / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.1415, allocations: 108 kB / 485 MB, free: 92 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.1415, allocations: 35.47 kB / 485 MB, free: 56 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.1416, allocations: 29.7 kB / 485.1 MB, free: 20 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1417, allocations: 322.9 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.1419, allocations: 55.95 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.142, allocations: 55.89 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.1423, allocations: 120.8 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1423, allocations: 4.047 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003354/0.1426, allocations: 169.8 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1427, allocations: 4 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1427, allocations: 0 / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1427, allocations: 0 / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.1428, allocations: 35.84 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1428, allocations: 0 / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.1429, allocations: 15.98 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.1429, allocations: 4 kB / 485.8 MB, free: 15.23 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.0001096/0.143, allocations: 129.8 kB / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.1431, allocations: 15.8 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004276/0.1435, allocations: 182.4 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1435, allocations: 11.88 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1435, allocations: 0 / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.1435, allocations: 0 / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006853/0.1442, allocations: 0.4999 MB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1442, allocations: 0 / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.96e-05/0.1444, allocations: 23.98 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1444, allocations: 4 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1444, allocations: 4.062 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1444, allocations: 7.938 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1444, allocations: 3.938 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003836/0.1448, allocations: 276.9 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.1448, allocations: 81.02 kB / 487 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.1449, allocations: 7.984 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.112e-05/0.145, allocations: 4 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.145, allocations: 15.98 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.145, allocations: 0 / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.1452, allocations: 147 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1452, allocations: 0 / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1454, allocations: 28 kB / 487.2 MB, free: 13.69 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.001078/0.1465, allocations: 456.1 kB / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000363/0.1469, allocations: 135.8 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1469, allocations: 4 kB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.1471, allocations: 63.89 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.1475, allocations: 28.08 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006138/0.1481, allocations: 312.2 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.1484, allocations: 0.7158 MB / 488.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.978e-05/0.1485, allocations: 28.52 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.1485, allocations: 19.44 kB / 489 MB, free: 12.05 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1485, allocations: 0 / 489 MB, free: 12.05 MB / 366.1 MB Notification: Performance of Templates: time 0.004433/0.153, allocations: 1.615 MB / 490.6 MB, free: 10.44 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches