Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001486, allocations: 101.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 242.4 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2169/0.2169, allocations: 44.18 MB / 336.8 MB, free: 3.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 63.02 kB / 408.4 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.145, allocations: 60.83 MB / 469.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003306/0.1483, allocations: 1.757 MB / 470.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.1497, allocations: 0.8693 MB / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.537e-05/0.1497, allocations: 0 / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.15, allocations: 51.88 kB / 471.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.1503, allocations: 59.75 kB / 471.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.1505, allocations: 87.83 kB / 472 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.1507, allocations: 91.7 kB / 472.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.866e-05/0.1508, allocations: 12.22 kB / 472.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.1509, allocations: 39.78 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.132e-05/0.151, allocations: 39.78 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.151, allocations: 4 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.891e-05/0.1511, allocations: 39.98 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.912e-05/0.1512, allocations: 27.91 kB / 472.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.832e-05/0.1513, allocations: 47.56 kB / 472.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.1514, allocations: 100.1 kB / 472.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1514, allocations: 0 / 472.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1515, allocations: 0 / 472.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.1515, allocations: 3.938 kB / 472.4 MB, free: 11.62 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.0005407/0.152, allocations: 438.8 kB / 472.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1521, allocations: 12.03 kB / 472.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.1521, allocations: 12.75 kB / 472.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.1523, allocations: 217 kB / 473.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1523, allocations: 8.312 kB / 473.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.1524, allocations: 12.03 kB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1525, allocations: 53.67 kB / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1525, allocations: 0 / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1526, allocations: 3.984 kB / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1526, allocations: 7.938 kB / 473.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.801e-05/0.1526, allocations: 19.98 kB / 473.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.153, allocations: 296.9 kB / 473.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.1532, allocations: 54.67 kB / 473.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.937e-05/0.1533, allocations: 28.8 kB / 473.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.1533, allocations: 3.984 kB / 473.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.1535, allocations: 59.39 kB / 473.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1535, allocations: 0 / 473.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005304/0.1541, allocations: 193.2 kB / 473.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.1541, allocations: 59.39 kB / 473.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.1544, allocations: 271.8 kB / 474.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.1544, allocations: 29.7 kB / 474.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.1545, allocations: 116.1 kB / 474.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.1545, allocations: 27.64 kB / 474.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.1546, allocations: 21.7 kB / 474.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1547, allocations: 334.8 kB / 474.6 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.815e-05/0.1548, allocations: 15.98 kB / 474.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.1548, allocations: 37.7 kB / 474.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.155, allocations: 65.72 kB / 474.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.155, allocations: 3.984 kB / 474.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001836/0.1552, allocations: 105.4 kB / 474.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1552, allocations: 4 kB / 474.9 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1552, allocations: 4.188 kB / 474.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1552, allocations: 0 / 474.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.051e-05/0.1553, allocations: 19.92 kB / 474.9 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1553, allocations: 0 / 474.9 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.1554, allocations: 11.97 kB / 474.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1554, allocations: 4 kB / 474.9 MB, free: 8.891 MB / 350.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.0001085/0.1555, allocations: 137.8 kB / 475 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.1555, allocations: 15.81 kB / 475.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.681e-05/0.1556, allocations: 21.39 kB / 475.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1556, allocations: 3.938 kB / 475.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1556, allocations: 3.938 kB / 475.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1556, allocations: 3.938 kB / 475.1 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000445/0.1561, allocations: 403.4 kB / 475.5 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1561, allocations: 0 / 475.5 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.072e-05/0.1561, allocations: 11.94 kB / 475.5 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1561, allocations: 4 kB / 475.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.1562, allocations: 7.922 kB / 475.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1562, allocations: 0 / 475.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1562, allocations: 4 kB / 475.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.1564, allocations: 208.2 kB / 475.7 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/0.1565, allocations: 88.92 kB / 475.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.1565, allocations: 7.938 kB / 475.8 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.1566, allocations: 4 kB / 475.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.1567, allocations: 11.92 kB / 475.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1567, allocations: 4 kB / 475.8 MB, free: 7.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.1569, allocations: 205.5 kB / 476 MB, free: 7.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1569, allocations: 4 kB / 476 MB, free: 7.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.1572, allocations: 20 kB / 476 MB, free: 7.641 MB / 350.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.001055/0.1582, allocations: 468.3 kB / 476.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.1584, allocations: 67.88 kB / 476.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1584, allocations: 4 kB / 476.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.282e-05/0.1585, allocations: 27.98 kB / 476.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.1588, allocations: 25.81 kB / 476.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005615/0.1594, allocations: 355.3 kB / 477 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.1597, allocations: 0.7228 MB / 477.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.1598, allocations: 15.44 kB / 477.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1598, allocations: 0 / 477.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of Templates: time 0.003712/0.1635, allocations: 2.079 MB / 479.8 MB, free: 4.02 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches