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.001306/0.001306, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001284, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 246.3 MB, free: 9.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2278/0.2278, allocations: 46.11 MB / 343.6 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 74 kB / 416.9 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1455, allocations: 62.46 MB / 479.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003207/0.1487, allocations: 1.777 MB / 481.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.1503, allocations: 1.013 MB / 482.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.492e-05/0.1504, allocations: 0 / 482.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.1507, allocations: 39.89 kB / 482.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.151, allocations: 83.67 kB / 482.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.1512, allocations: 55.88 kB / 482.3 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.1513, allocations: 107.6 kB / 482.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.058e-05/0.1514, allocations: 8 kB / 482.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.769e-05/0.1515, allocations: 47.7 kB / 482.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.739e-05/0.1516, allocations: 31.8 kB / 482.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.1516, allocations: 4 kB / 482.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.341e-05/0.1517, allocations: 39.98 kB / 482.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.74e-05/0.1518, allocations: 23.91 kB / 482.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.203e-05/0.1519, allocations: 31.75 kB / 482.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.1521, allocations: 119.9 kB / 482.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1521, allocations: 3.938 kB / 482.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1521, allocations: 0 / 482.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.1521, allocations: 0 / 482.7 MB, free: 2.328 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.0007062/0.1528, allocations: 411 kB / 483.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.1529, allocations: 16.88 kB / 483.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.844e-05/0.1529, allocations: 8.844 kB / 483.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.1533, allocations: 220.7 kB / 483.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1533, allocations: 384 / 483.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.1533, allocations: 8.125 kB / 483.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.1536, allocations: 61.66 kB / 483.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1536, allocations: 3.938 kB / 483.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1536, allocations: 0 / 483.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1536, allocations: 0 / 483.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.1537, allocations: 19.98 kB / 483.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.1542, allocations: 292.8 kB / 483.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.1545, allocations: 54.67 kB / 483.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.001e-05/0.1546, allocations: 20.8 kB / 483.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.1546, allocations: 4 kB / 483.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.1548, allocations: 67.39 kB / 483.8 MB, free: 1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.1548, allocations: 0 / 483.8 MB, free: 1 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008095/0.1557, allocations: 177.2 kB / 484 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.1557, allocations: 55.41 kB / 484.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.156, allocations: 186.9 kB / 484.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.1561, allocations: 33.7 kB / 484.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.44e-05/0.1562, allocations: 108.1 kB / 484.4 MB, free: 424 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.1562, allocations: 27.69 kB / 484.4 MB, free: 396 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.1563, allocations: 21.72 kB / 484.4 MB, free: 368 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1565, allocations: 326.8 kB / 484.8 MB, free: 32 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.762e-05/0.1566, allocations: 19.98 kB / 484.8 MB, free: 12 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.1567, allocations: 41.72 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.1569, allocations: 65.72 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1569, allocations: 0 / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003059/0.1572, allocations: 105.4 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.1573, allocations: 4 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1573, allocations: 0 / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.1573, allocations: 0 / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.1575, allocations: 19.98 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1575, allocations: 0 / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.739e-05/0.1576, allocations: 7.938 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.1576, allocations: 8.031 kB / 485 MB, free: 15.74 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.0001515/0.1578, allocations: 125.8 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.1578, allocations: 11.91 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.571e-05/0.1579, allocations: 21.28 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.1579, allocations: 0 / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1579, allocations: 0 / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.1579, allocations: 11.92 kB / 485.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007111/0.1587, allocations: 395.5 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.1587, allocations: 4 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.854e-05/0.1587, allocations: 8 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1587, allocations: 4 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.1588, allocations: 7.922 kB / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1588, allocations: 0 / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.1588, allocations: 4 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.1591, allocations: 200.3 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.1592, allocations: 84.92 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.1593, allocations: 7.938 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.1594, allocations: 0 / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.1595, allocations: 15.92 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.1595, allocations: 4 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.1597, allocations: 152.7 kB / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1597, allocations: 0 / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005017/0.1602, allocations: 20 kB / 486.1 MB, free: 14.58 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.00165/0.1619, allocations: 461.1 kB / 486.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.1621, allocations: 67.89 kB / 486.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1622, allocations: 4.062 kB / 486.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.903e-05/0.1623, allocations: 23.98 kB / 486.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.1629, allocations: 27.97 kB / 486.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006359/0.1635, allocations: 256.8 kB / 486.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.164, allocations: 0.7043 MB / 487.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.471e-05/0.1641, allocations: 12.88 kB / 487.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.1641, allocations: 15.44 kB / 487.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1641, allocations: 4 kB / 487.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of Templates: time 0.006456/0.1706, allocations: 1.666 MB / 489.3 MB, free: 11.47 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches