Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.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.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008782/0.0008782, allocations: 90.59 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.001252/0.001252, allocations: 199.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.7 MB / 246.8 MB, free: 11.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2524/0.2524, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000307/0.0003071, allocations: 8 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1367, allocations: 63.56 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002037/0.1387, allocations: 1.306 MB / 484.4 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.1404, allocations: 1.121 MB / 485.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/0.1405, allocations: 7.938 kB / 485.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.1407, allocations: 15.94 kB / 485.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.1409, allocations: 67.75 kB / 485.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.1412, allocations: 87.02 kB / 485.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.1413, allocations: 59.84 kB / 485.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.438e-05/0.1414, allocations: 12 kB / 485.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.663e-05/0.1415, allocations: 23.84 kB / 485.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1416, allocations: 31.86 kB / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.1417, allocations: 0 / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.1418, allocations: 99.88 kB / 485.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.516e-05/0.1419, allocations: 7.984 kB / 485.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.142, allocations: 53.5 kB / 486 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.1422, allocations: 127.7 kB / 486.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1422, allocations: 4 kB / 486.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1422, allocations: 3.938 kB / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.974e-06/0.1422, allocations: 3.938 kB / 486.1 MB, free: 1.113 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.0005268/0.1428, allocations: 394.1 kB / 486.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1428, allocations: 8.875 kB / 486.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.1428, allocations: 8.844 kB / 486.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.143, allocations: 196.2 kB / 486.7 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1431, allocations: 4.375 kB / 486.7 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.1431, allocations: 384 / 486.7 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.1433, allocations: 71.53 kB / 486.8 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1433, allocations: 7.938 kB / 486.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1433, allocations: 3.984 kB / 486.8 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1433, allocations: 0 / 486.8 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.248e-05/0.1434, allocations: 23.98 kB / 486.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.1438, allocations: 277 kB / 487.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.144, allocations: 50.5 kB / 487.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/0.144, allocations: 24.94 kB / 487.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.1441, allocations: 0 / 487.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.1441, allocations: 30.56 kB / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1441, allocations: 0 / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005927/0.1447, allocations: 161.3 kB / 487.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.1448, allocations: 81.11 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.1449, allocations: 152 kB / 487.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1449, allocations: 25.7 kB / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.145, allocations: 100 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.145, allocations: 11.75 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.1451, allocations: 13.72 kB / 487.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1452, allocations: 322.8 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.628e-05/0.1453, allocations: 23.98 kB / 488.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.1454, allocations: 37.7 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.1455, allocations: 52.83 kB / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1455, allocations: 4 kB / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001969/0.1457, allocations: 89.55 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1458, allocations: 4 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1458, allocations: 4 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1458, allocations: 0 / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.957e-05/0.1459, allocations: 15.98 kB / 488.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1459, allocations: 4 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.866e-05/0.1459, allocations: 4 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1459, allocations: 4 kB / 488.3 MB, free: 14.71 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 (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 8.347e-05/0.146, allocations: 117.8 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.1461, allocations: 12.19 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.1463, allocations: 101.9 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.1463, allocations: 7.922 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1464, allocations: 0 / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1464, allocations: 0 / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004333/0.1468, allocations: 362.9 kB / 488.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1468, allocations: 0 / 488.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.124e-05/0.1469, allocations: 19.94 kB / 488.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1469, allocations: 0 / 488.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1469, allocations: 4 kB / 488.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.1469, allocations: 7.922 kB / 488.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1469, allocations: 0 / 488.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.1472, allocations: 183.4 kB / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.1472, allocations: 89 kB / 489.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.1472, allocations: 4 kB / 489.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-05/0.1473, allocations: 7.938 kB / 489.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.1474, allocations: 11.98 kB / 489.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.1474, allocations: 4 kB / 489.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.568e-05/0.1475, allocations: 113.5 kB / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.663e-06/0.1475, allocations: 0 / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.1478, allocations: 39.92 kB / 489.3 MB, free: 13.54 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.001128/0.1489, allocations: 498.5 kB / 489.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.1491, allocations: 55.97 kB / 489.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1491, allocations: 0 / 489.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.875e-05/0.1492, allocations: 27.98 kB / 489.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.1495, allocations: 18.73 kB / 489.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.15, allocations: 192.6 kB / 490.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.1502, allocations: 0.6887 MB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.691e-05/0.1503, allocations: 12.23 kB / 490.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.1503, allocations: 19.42 kB / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1503, allocations: 4 kB / 490.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of Templates: time 0.004331/0.1547, allocations: 1.696 MB / 492.5 MB, free: 10.45 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches