Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 111.6 kB / 17.06 MB, free: 6 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.002005/0.002005, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.424/1.424, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9747/0.9747, allocations: 119.3 MB / 411.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 62 kB / 0.5709 GB, free: 39.96 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1338, allocations: 80.69 MB / 0.6497 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.00309/0.1369, allocations: 1.405 MB / 0.6511 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1382, allocations: 0.5691 MB / 0.6516 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.446e-05/0.1383, allocations: 7.938 kB / 0.6516 GB, free: 11.17 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0005026/0.1388, allocations: 447.1 kB / 0.6521 GB, free: 10.73 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0006267/0.1395, allocations: 494.9 kB / 0.6525 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.1399, allocations: 75.8 kB / 0.6526 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0009317/0.1408, allocations: 1.127 MB / 0.6537 GB, free: 9.043 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.895e-05/0.1409, allocations: 7.984 kB / 0.6537 GB, free: 9.035 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005008/0.1414, allocations: 0.5654 MB / 0.6543 GB, free: 8.469 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008068/0.1422, allocations: 1.03 MB / 0.6553 GB, free: 7.438 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.1423, allocations: 64 kB / 0.6553 GB, free: 7.375 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/0.1426, allocations: 139.9 kB / 0.6555 GB, free: 7.238 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002323/0.1449, allocations: 2.497 MB / 0.6579 GB, free: 4.734 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0008819/0.1458, allocations: 1.427 MB / 0.6593 GB, free: 3.293 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002095/0.1479, allocations: 3.17 MB / 0.6624 GB, free: 108 kB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1479, allocations: 0 / 0.6624 GB, free: 108 kB / 0.4983 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1479, allocations: 0 / 0.6624 GB, free: 108 kB / 0.4983 GB Notification: Performance of Transformations before backend: time 2.187e-05/0.148, allocations: 0 / 0.6624 GB, free: 108 kB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.004499/0.1525, allocations: 5.165 MB / 0.6674 GB, free: 10.84 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1525, allocations: 8.031 kB / 0.6675 GB, free: 10.84 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005286/0.153, allocations: 0.5637 MB / 0.668 GB, free: 10.27 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008433/0.1615, allocations: 6.527 MB / 0.6744 GB, free: 3.656 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.1615, allocations: 384 / 0.6744 GB, free: 3.656 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.1616, allocations: 16.38 kB / 0.6744 GB, free: 3.641 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.1619, allocations: 245.8 kB / 0.6746 GB, free: 3.395 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1619, allocations: 0 / 0.6746 GB, free: 3.395 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.134e-05/0.162, allocations: 23.98 kB / 0.6746 GB, free: 3.371 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.162, allocations: 0 / 0.6746 GB, free: 3.371 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.1622, allocations: 124 kB / 0.6748 GB, free: 3.25 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.164, allocations: 1.87 MB / 0.6766 GB, free: 1.332 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.1641, allocations: 106.6 kB / 0.6767 GB, free: 1.219 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.1643, allocations: 96.84 kB / 0.6768 GB, free: 1.121 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.1643, allocations: 4.031 kB / 0.6768 GB, free: 1.117 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003057/0.1646, allocations: 248.9 kB / 0.677 GB, free: 0.8555 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.753e-06/0.1646, allocations: 0 / 0.677 GB, free: 0.8555 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.001384/0.166, allocations: 1.172 MB / 0.6782 GB, free: 15.66 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.1661, allocations: 81.11 kB / 0.6782 GB, free: 15.56 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006143/0.1722, allocations: 6.283 MB / 0.6844 GB, free: 9.324 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/0.1723, allocations: 41.7 kB / 0.6844 GB, free: 9.277 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001973/0.1742, allocations: 2.52 MB / 0.6869 GB, free: 6.754 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 7.174e-05/0.1743, allocations: 31.72 kB / 0.6869 GB, free: 6.723 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.1745, allocations: 133.7 kB / 0.687 GB, free: 6.586 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1746, allocations: 310 kB / 0.6873 GB, free: 6.277 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.1747, allocations: 79.94 kB / 0.6874 GB, free: 6.199 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.1749, allocations: 83.98 kB / 0.6875 GB, free: 6.117 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.1752, allocations: 232.2 kB / 0.6877 GB, free: 5.875 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1752, allocations: 0 / 0.6877 GB, free: 5.875 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001222/0.1764, allocations: 1.086 MB / 0.6888 GB, free: 4.77 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 3.831e-05/0.1764, allocations: 44.97 kB / 0.6888 GB, free: 4.723 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1765, allocations: 0 / 0.6888 GB, free: 4.723 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1765, allocations: 0 / 0.6888 GB, free: 4.723 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.466e-05/0.1766, allocations: 7.938 kB / 0.6888 GB, free: 4.715 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.1766, allocations: 0 / 0.6888 GB, free: 4.715 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.1769, allocations: 23.94 kB / 0.6889 GB, free: 4.691 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.1771, allocations: 223.9 kB / 0.6891 GB, free: 4.473 MB / 0.5295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.001459/0.1786, allocations: 1.343 MB / 0.6904 GB, free: 3.113 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004271/0.179, allocations: 0.5746 MB / 0.6909 GB, free: 2.531 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000586/0.1796, allocations: 0.6441 MB / 0.6916 GB, free: 1.883 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1796, allocations: 0 / 0.6916 GB, free: 1.883 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1796, allocations: 3.984 kB / 0.6916 GB, free: 1.879 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1796, allocations: 4 kB / 0.6916 GB, free: 1.875 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.1812, allocations: 2.018 MB / 0.6935 GB, free: 15.81 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1812, allocations: 0 / 0.6935 GB, free: 15.81 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/0.1812, allocations: 3.938 kB / 0.6935 GB, free: 15.8 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1812, allocations: 8 kB / 0.6936 GB, free: 15.8 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.667e-05/0.1813, allocations: 48 kB / 0.6936 GB, free: 15.75 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1813, allocations: 0 / 0.6936 GB, free: 15.75 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1813, allocations: 96 / 0.6936 GB, free: 15.75 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.1823, allocations: 1.18 MB / 0.6948 GB, free: 14.54 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005329/0.1829, allocations: 0.56 MB / 0.6953 GB, free: 13.95 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.1831, allocations: 19.98 kB / 0.6953 GB, free: 13.93 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.1834, allocations: 24 kB / 0.6953 GB, free: 13.91 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.1835, allocations: 4 kB / 0.6953 GB, free: 13.91 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/0.1836, allocations: 228 kB / 0.6956 GB, free: 13.68 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.004351/0.188, allocations: 4.324 MB / 0.6998 GB, free: 9.398 MB / 0.5452 GB Notification: Performance of sort global known variables: time 2.4e-07/0.188, allocations: 0 / 0.6998 GB, free: 9.398 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0004638/0.1884, allocations: 192 kB / 0.7 GB, free: 9.211 MB / 0.5452 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001999/0.1887, allocations: 139.6 kB / 0.7001 GB, free: 9.07 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0004081/0.1891, allocations: 279.4 kB / 0.7004 GB, free: 8.785 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1891, allocations: 4 kB / 0.7004 GB, free: 8.781 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.1893, allocations: 191.3 kB / 0.7006 GB, free: 8.582 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.1903, allocations: 442.2 kB / 0.701 GB, free: 8.148 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009563/0.1999, allocations: 8.38 MB / 0.7092 GB, free: 15.74 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002191/0.2021, allocations: 2.732 MB / 0.7118 GB, free: 12.98 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.002003/0.2042, allocations: 1.137 MB / 0.7129 GB, free: 11.84 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.2044, allocations: 263.4 kB / 0.7132 GB, free: 11.58 MB / 0.5608 GB Notification: Performance of SimCode: time 1.052e-06/0.2044, allocations: 0 / 0.7132 GB, free: 11.58 MB / 0.5608 GB Notification: Performance of Templates: time 0.04272/0.2472, allocations: 20.69 MB / 0.7334 GB, free: 6.766 MB / 0.5764 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches