Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001288, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001261/0.001261, allocations: 200 kB / 18.01 MB, free: 5.055 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.385/1.385, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9766/0.9766, allocations: 119.3 MB / 411.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 61.53 kB / 0.5709 GB, free: 39.81 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1463, allocations: 80.7 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.002725/0.1491, allocations: 1.577 MB / 0.6512 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.1505, allocations: 0.8885 MB / 0.6521 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.864e-05/0.1506, allocations: 0 / 0.6521 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0007797/0.1514, allocations: 0.8965 MB / 0.653 GB, free: 9.688 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0005871/0.152, allocations: 0.5262 MB / 0.6535 GB, free: 9.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.1524, allocations: 107.6 kB / 0.6536 GB, free: 9.055 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0009495/0.1534, allocations: 1.158 MB / 0.6547 GB, free: 7.895 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.266e-05/0.1534, allocations: 15.97 kB / 0.6548 GB, free: 7.879 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006053/0.154, allocations: 0.577 MB / 0.6553 GB, free: 7.301 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008561/0.1549, allocations: 1.045 MB / 0.6563 GB, free: 6.254 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.1551, allocations: 64 kB / 0.6564 GB, free: 6.191 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.1553, allocations: 95.98 kB / 0.6565 GB, free: 6.098 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002729/0.158, allocations: 2.505 MB / 0.6589 GB, free: 3.586 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.001243/0.1593, allocations: 1.431 MB / 0.6603 GB, free: 2.141 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002497/0.1618, allocations: 3.178 MB / 0.6634 GB, free: 14.95 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1618, allocations: 0 / 0.6634 GB, free: 14.95 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.034e-06/0.1618, allocations: 0 / 0.6634 GB, free: 14.95 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.679e-05/0.1619, allocations: 0 / 0.6634 GB, free: 14.95 MB / 0.5139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.005596/0.1675, allocations: 5.183 MB / 0.6685 GB, free: 9.672 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.1676, allocations: 11.89 kB / 0.6685 GB, free: 9.66 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006713/0.1682, allocations: 0.5599 MB / 0.6691 GB, free: 9.094 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01053/0.1788, allocations: 6.555 MB / 0.6755 GB, free: 2.457 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1788, allocations: 384 / 0.6755 GB, free: 2.457 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.1789, allocations: 8.125 kB / 0.6755 GB, free: 2.449 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.179, allocations: 53.61 kB / 0.6755 GB, free: 2.391 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.179, allocations: 0 / 0.6755 GB, free: 2.391 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.1791, allocations: 3.938 kB / 0.6755 GB, free: 2.387 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1791, allocations: 12 kB / 0.6755 GB, free: 2.375 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.736e-05/0.1791, allocations: 12 kB / 0.6755 GB, free: 2.363 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/0.1816, allocations: 1.851 MB / 0.6774 GB, free: 476 kB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.1818, allocations: 54.61 kB / 0.6774 GB, free: 412 kB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.666e-05/0.1819, allocations: 28.77 kB / 0.6774 GB, free: 380 kB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.1819, allocations: 0 / 0.6774 GB, free: 380 kB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.182, allocations: 71.33 kB / 0.6775 GB, free: 296 kB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.1821, allocations: 0 / 0.6775 GB, free: 296 kB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.0009627/0.183, allocations: 0.6506 MB / 0.6781 GB, free: 15.62 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.1831, allocations: 55.41 kB / 0.6782 GB, free: 15.55 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007855/0.1909, allocations: 6.439 MB / 0.6845 GB, free: 9.16 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.191, allocations: 25.7 kB / 0.6845 GB, free: 9.129 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002369/0.1934, allocations: 2.676 MB / 0.6871 GB, free: 6.449 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 5.494e-05/0.1934, allocations: 11.75 kB / 0.6871 GB, free: 6.438 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.548e-05/0.1935, allocations: 21.72 kB / 0.6871 GB, free: 6.41 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1936, allocations: 314 kB / 0.6874 GB, free: 6.098 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.732e-05/0.1937, allocations: 15.94 kB / 0.6875 GB, free: 6.082 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.882e-05/0.1938, allocations: 25.7 kB / 0.6875 GB, free: 6.051 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.1939, allocations: 49.7 kB / 0.6875 GB, free: 5.996 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1939, allocations: 0 / 0.6875 GB, free: 5.996 MB / 0.5295 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001038/0.195, allocations: 0.6465 MB / 0.6882 GB, free: 5.336 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.195, allocations: 4 kB / 0.6882 GB, free: 5.332 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.195, allocations: 0 / 0.6882 GB, free: 5.332 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.195, allocations: 0 / 0.6882 GB, free: 5.332 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-05/0.1951, allocations: 15.98 kB / 0.6882 GB, free: 5.316 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.1951, allocations: 0 / 0.6882 GB, free: 5.316 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.1956, allocations: 19.91 kB / 0.6882 GB, free: 5.297 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1956, allocations: 8.031 kB / 0.6882 GB, free: 5.289 MB / 0.5295 GB 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.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.001679/0.1973, allocations: 1.287 MB / 0.6895 GB, free: 3.992 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005986/0.1979, allocations: 0.5902 MB / 0.69 GB, free: 3.395 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000808/0.1987, allocations: 0.6482 MB / 0.6907 GB, free: 2.742 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.1987, allocations: 4 kB / 0.6907 GB, free: 2.738 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1988, allocations: 4 kB / 0.6907 GB, free: 2.734 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1988, allocations: 0 / 0.6907 GB, free: 2.734 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.2006, allocations: 2.027 MB / 0.6927 GB, free: 0.6602 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2006, allocations: 0 / 0.6927 GB, free: 0.6602 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.367e-05/0.2006, allocations: 4 kB / 0.6927 GB, free: 0.6562 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.2006, allocations: 4 kB / 0.6927 GB, free: 0.6523 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.2007, allocations: 11.98 kB / 0.6927 GB, free: 0.6406 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2007, allocations: 0 / 0.6927 GB, free: 0.6406 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.2007, allocations: 3.984 kB / 0.6927 GB, free: 0.6367 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000744/0.2014, allocations: 0.717 MB / 0.6934 GB, free: 15.9 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005193/0.2019, allocations: 0.5132 MB / 0.6939 GB, free: 15.36 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/0.2022, allocations: 16 kB / 0.6939 GB, free: 15.34 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/0.2025, allocations: 27.98 kB / 0.6939 GB, free: 15.32 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.2025, allocations: 3.938 kB / 0.6939 GB, free: 15.31 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.2026, allocations: 4 kB / 0.6939 GB, free: 15.31 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.00491/0.2075, allocations: 4.423 MB / 0.6983 GB, free: 10.93 MB / 0.5452 GB Notification: Performance of sort global known variables: time 3.01e-07/0.2075, allocations: 0 / 0.6983 GB, free: 10.93 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0005073/0.208, allocations: 168 kB / 0.6984 GB, free: 10.76 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009291/0.2089, allocations: 407.7 kB / 0.6988 GB, free: 10.51 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0001996/0.2092, allocations: 39.98 kB / 0.6988 GB, free: 10.47 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2092, allocations: 0 / 0.6988 GB, free: 10.47 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 6.177e-05/0.2092, allocations: 23.92 kB / 0.6989 GB, free: 10.45 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.2104, allocations: 463.3 kB / 0.6993 GB, free: 9.996 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009426/0.2198, allocations: 8.412 MB / 0.7075 GB, free: 1.555 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002199/0.2221, allocations: 2.737 MB / 0.7102 GB, free: 14.79 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.002585/0.2247, allocations: 1.399 MB / 0.7116 GB, free: 13.39 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008086/0.2255, allocations: 0.5655 MB / 0.7121 GB, free: 12.82 MB / 0.5608 GB Notification: Performance of SimCode: time 9.62e-07/0.2255, allocations: 4 kB / 0.7121 GB, free: 12.82 MB / 0.5608 GB Notification: Performance of Templates: time 0.04162/0.2671, allocations: 15.62 MB / 0.7274 GB, free: 13.18 MB / 0.5764 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches