Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 115.8 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001051/0.001051, allocations: 205.8 kB / 18.26 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2312/0.2312, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 76.31 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1416, allocations: 62.45 MB / 479.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003835/0.1455, allocations: 1.784 MB / 481.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.1472, allocations: 1.006 MB / 482.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.376e-05/0.1473, allocations: 3.938 kB / 482.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003982/0.1477, allocations: 35.91 kB / 482.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.1481, allocations: 75.67 kB / 482.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.1483, allocations: 67.88 kB / 482.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.1485, allocations: 107.7 kB / 482.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1486, allocations: 15.98 kB / 482.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.363e-05/0.1487, allocations: 43.73 kB / 482.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.422e-05/0.1488, allocations: 39.77 kB / 482.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1488, allocations: 4 kB / 482.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.149, allocations: 39.98 kB / 482.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.149, allocations: 15.92 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.1491, allocations: 31.8 kB / 482.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.1493, allocations: 123.9 kB / 482.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1494, allocations: 3.938 kB / 482.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1494, allocations: 0 / 482.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1494, allocations: 0 / 482.9 MB, free: 2.195 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.0005467/0.1499, allocations: 399.1 kB / 483.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.15, allocations: 8.031 kB / 483.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.15, allocations: 16.78 kB / 483.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.1503, allocations: 204.1 kB / 483.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.1503, allocations: 8.375 kB / 483.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.1503, allocations: 4.125 kB / 483.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.1505, allocations: 53.67 kB / 483.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1505, allocations: 3.938 kB / 483.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1505, allocations: 4 kB / 483.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.1505, allocations: 0 / 483.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.65e-05/0.1506, allocations: 19.98 kB / 483.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.151, allocations: 296.7 kB / 483.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.1512, allocations: 54.69 kB / 483.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.473e-05/0.1513, allocations: 24.78 kB / 484 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.1513, allocations: 4 kB / 484 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002275/0.1515, allocations: 63.39 kB / 484 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.1515, allocations: 4 kB / 484 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005842/0.1521, allocations: 173.2 kB / 484.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.1522, allocations: 55.41 kB / 484.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.1524, allocations: 166.2 kB / 484.4 MB, free: 484 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.1524, allocations: 29.7 kB / 484.4 MB, free: 448 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.105e-05/0.1525, allocations: 100.1 kB / 484.5 MB, free: 344 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.1525, allocations: 27.64 kB / 484.6 MB, free: 316 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.1526, allocations: 17.72 kB / 484.6 MB, free: 292 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.1528, allocations: 334.8 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.026e-05/0.1528, allocations: 19.98 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.343e-05/0.1529, allocations: 34.08 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.1531, allocations: 69.7 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1531, allocations: 0 / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001852/0.1533, allocations: 101.5 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1533, allocations: 8 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.1533, allocations: 0 / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1533, allocations: 4 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.587e-05/0.1534, allocations: 15.98 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1534, allocations: 0 / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.933e-05/0.1535, allocations: 11.94 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1535, allocations: 3.938 kB / 485.2 MB, free: 15.67 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.000104/0.1536, allocations: 117.8 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.1537, allocations: 19.89 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.811e-05/0.1537, allocations: 16.66 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.1537, allocations: 0 / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1537, allocations: 0 / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.1538, allocations: 3.938 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004564/0.1542, allocations: 391.2 kB / 485.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.1542, allocations: 7.984 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.572e-05/0.1543, allocations: 11.98 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1543, allocations: 4.031 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1543, allocations: 8.125 kB / 485.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1543, allocations: 0 / 485.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.1543, allocations: 7.938 kB / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.1546, allocations: 192.3 kB / 485.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.1546, allocations: 85 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.1547, allocations: 11.94 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.817e-05/0.1547, allocations: 4 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.1548, allocations: 7.938 kB / 486 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.1548, allocations: 7.984 kB / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.1549, allocations: 127.2 kB / 486.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1549, allocations: 0 / 486.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1552, allocations: 20 kB / 486.2 MB, free: 14.54 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.001193/0.1564, allocations: 467.2 kB / 486.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.1566, allocations: 63.89 kB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1566, allocations: 0 / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.535e-05/0.1567, allocations: 31.92 kB / 486.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.1571, allocations: 34.34 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.1576, allocations: 227.1 kB / 487 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.1579, allocations: 0.708 MB / 487.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.633e-05/0.158, allocations: 12.88 kB / 487.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.158, allocations: 15.44 kB / 487.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.158, allocations: 0 / 487.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of Templates: time 0.004722/0.1627, allocations: 1.693 MB / 489.4 MB, free: 11.42 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches