Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001391/0.001391, allocations: 109.6 kB / 17.32 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00164/0.00164, allocations: 205.8 kB / 18.26 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 246.4 MB, free: 9.145 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.1 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 76.53 kB / 417.1 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1355, allocations: 62.44 MB / 479.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003351/0.1389, allocations: 1.788 MB / 481.3 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.1405, allocations: 1.006 MB / 482.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.72e-05/0.1406, allocations: 0 / 482.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.1409, allocations: 39.89 kB / 482.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.1412, allocations: 87.67 kB / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.1414, allocations: 59.88 kB / 482.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.1416, allocations: 107.7 kB / 482.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1417, allocations: 8 kB / 482.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.054e-05/0.1418, allocations: 43.73 kB / 482.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.707e-05/0.1419, allocations: 39.77 kB / 482.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1419, allocations: 4 kB / 482.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.696e-05/0.142, allocations: 39.98 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.88e-05/0.1421, allocations: 27.92 kB / 482.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.049e-05/0.1421, allocations: 31.8 kB / 482.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.1423, allocations: 119.8 kB / 482.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1423, allocations: 0 / 482.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.624e-06/0.1423, allocations: 0 / 482.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1423, allocations: 3.938 kB / 482.9 MB, free: 2.172 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005385/0.1429, allocations: 407 kB / 483.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1429, allocations: 12.03 kB / 483.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.143, allocations: 12.75 kB / 483.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.1432, allocations: 212.1 kB / 483.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1433, allocations: 384 / 483.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.1433, allocations: 8.125 kB / 483.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.1435, allocations: 57.61 kB / 483.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1435, allocations: 3.984 kB / 483.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1435, allocations: 0 / 483.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1435, allocations: 0 / 483.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.175e-05/0.1436, allocations: 19.98 kB / 483.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.144, allocations: 288.9 kB / 483.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.1442, allocations: 62.61 kB / 483.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.408e-05/0.1443, allocations: 16.86 kB / 484 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.1443, allocations: 0 / 484 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.1446, allocations: 75.38 kB / 484 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1446, allocations: 0 / 484 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006312/0.1452, allocations: 169.2 kB / 484.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.1453, allocations: 51.41 kB / 484.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.1455, allocations: 184 kB / 484.4 MB, free: 440 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1455, allocations: 33.64 kB / 484.5 MB, free: 400 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.1456, allocations: 108 kB / 484.6 MB, free: 288 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.1456, allocations: 19.75 kB / 484.6 MB, free: 268 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.1457, allocations: 29.7 kB / 484.6 MB, free: 232 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1459, allocations: 326.8 kB / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.297e-05/0.1459, allocations: 23.98 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.233e-05/0.146, allocations: 33.66 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.1461, allocations: 61.69 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.269e-05/0.1462, allocations: 4 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001966/0.1464, allocations: 109.5 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.1464, allocations: 4 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1464, allocations: 0 / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1464, allocations: 4 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.851e-05/0.1465, allocations: 12 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1465, allocations: 0 / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/0.1466, allocations: 15.92 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.1466, allocations: 0 / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001031/0.1467, allocations: 129.8 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.1468, allocations: 7.906 kB / 485.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.376e-05/0.1468, allocations: 17.39 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1468, allocations: 0 / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1468, allocations: 0 / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1468, allocations: 7.938 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004384/0.1473, allocations: 391.2 kB / 485.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1473, allocations: 0 / 485.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.582e-05/0.1473, allocations: 16.02 kB / 485.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1473, allocations: 0 / 485.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1474, allocations: 11.94 kB / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1474, allocations: 0 / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1474, allocations: 0 / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.1476, allocations: 196.2 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.1477, allocations: 85.02 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.1477, allocations: 19.92 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.1478, allocations: 384 / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.1478, allocations: 4 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.1478, allocations: 11.98 kB / 486.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.148, allocations: 142.7 kB / 486.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.148, allocations: 192 / 486.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.1482, allocations: 27.98 kB / 486.2 MB, free: 14.46 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001045/0.1493, allocations: 450.8 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.1495, allocations: 63.91 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1495, allocations: 0 / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.33e-05/0.1496, allocations: 28.05 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.15, allocations: 54.48 kB / 486.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004816/0.1505, allocations: 243.1 kB / 487.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.1508, allocations: 0.708 MB / 487.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.754e-05/0.1509, allocations: 12.88 kB / 487.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.1509, allocations: 19.44 kB / 487.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1509, allocations: 0 / 487.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of Templates: time 0.004627/0.1555, allocations: 1.687 MB / 489.5 MB, free: 11.33 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches