Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001774/0.001774, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002139/0.002139, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.161/2.161, allocations: 227.4 MB / 246.9 MB, free: 8.852 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3489/0.3489, allocations: 46.12 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002529/0.00253, allocations: 76.62 kB / 417.5 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1416, allocations: 62.45 MB / 479.9 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.004503/0.1461, allocations: 1.785 MB / 481.7 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.1487, allocations: 1.017 MB / 482.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1489, allocations: 0 / 482.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004002/0.1493, allocations: 43.77 kB / 482.8 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004065/0.1497, allocations: 71.77 kB / 482.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.1501, allocations: 67.8 kB / 482.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.1503, allocations: 99.77 kB / 483 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.1504, allocations: 15.91 kB / 483 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.1506, allocations: 31.86 kB / 483.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.697e-05/0.1507, allocations: 31.8 kB / 483.1 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.1507, allocations: 4 kB / 483.1 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.1509, allocations: 47.91 kB / 483.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.761e-05/0.151, allocations: 19.92 kB / 483.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.656e-05/0.1511, allocations: 35.73 kB / 483.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.1513, allocations: 96.09 kB / 483.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1513, allocations: 0 / 483.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1513, allocations: 0 / 483.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1513, allocations: 0 / 483.3 MB, free: 2.281 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.0007006/0.152, allocations: 418.9 kB / 483.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1521, allocations: 8.875 kB / 483.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.304e-05/0.1522, allocations: 8.844 kB / 483.7 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.1525, allocations: 212.7 kB / 483.9 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1525, allocations: 4.375 kB / 483.9 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.1526, allocations: 12.12 kB / 484 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.1528, allocations: 53.66 kB / 484 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1528, allocations: 0 / 484 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.1528, allocations: 4 kB / 484 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.1529, allocations: 4 kB / 484 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.153, allocations: 15.98 kB / 484 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.1535, allocations: 288.8 kB / 484.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.1538, allocations: 70.61 kB / 484.4 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.692e-05/0.1539, allocations: 16.86 kB / 484.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.1539, allocations: 0 / 484.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002603/0.1542, allocations: 67.38 kB / 484.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 4.549e-06/0.1542, allocations: 8 kB / 484.5 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008104/0.155, allocations: 165.2 kB / 484.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.1551, allocations: 51.41 kB / 484.7 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.1554, allocations: 194.9 kB / 484.9 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.1554, allocations: 25.7 kB / 484.9 MB, free: 500 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.239e-05/0.1555, allocations: 108 kB / 485 MB, free: 388 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/0.1556, allocations: 27.69 kB / 485 MB, free: 360 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/0.1556, allocations: 25.72 kB / 485.1 MB, free: 328 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1558, allocations: 330.8 kB / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.91e-05/0.1559, allocations: 19.98 kB / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.1561, allocations: 45.58 kB / 485.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.1563, allocations: 53.7 kB / 485.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1563, allocations: 0 / 485.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000323/0.1566, allocations: 105.4 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1567, allocations: 8.031 kB / 485.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1567, allocations: 0 / 485.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1567, allocations: 4 kB / 485.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.1569, allocations: 19.92 kB / 485.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1569, allocations: 160 / 485.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.284e-05/0.157, allocations: 7.938 kB / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.157, allocations: 3.984 kB / 485.6 MB, free: 15.71 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.0001412/0.1572, allocations: 129.8 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.1572, allocations: 7.906 kB / 485.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.782e-05/0.1573, allocations: 17.41 kB / 485.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.1573, allocations: 4 kB / 485.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1573, allocations: 0 / 485.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.1573, allocations: 7.922 kB / 485.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006504/0.158, allocations: 395.2 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.158, allocations: 0 / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-05/0.1581, allocations: 8 kB / 486.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1581, allocations: 4.406 kB / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.1581, allocations: 7.922 kB / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/0.1581, allocations: 8 kB / 486.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1581, allocations: 0 / 486.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/0.1585, allocations: 204.2 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-05/0.1586, allocations: 88.92 kB / 486.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.1587, allocations: 7.938 kB / 486.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.1588, allocations: 8 kB / 486.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.1589, allocations: 3.984 kB / 486.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.1589, allocations: 4 kB / 486.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.1591, allocations: 152.7 kB / 486.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1591, allocations: 0 / 486.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005002/0.1596, allocations: 28 kB / 486.7 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.001726/0.1614, allocations: 464.8 kB / 487.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002706/0.1617, allocations: 55.92 kB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1617, allocations: 0 / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.1618, allocations: 31.92 kB / 487.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005804/0.1624, allocations: 32.09 kB / 487.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006593/0.1631, allocations: 278.4 kB / 487.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.1635, allocations: 0.7083 MB / 488.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.835e-05/0.1635, allocations: 19.42 kB / 488.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1635, allocations: 0 / 488.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of Templates: time 0.005801/0.1694, allocations: 1.942 MB / 490.2 MB, free: 11.11 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches