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.001375/0.001375, allocations: 111.4 kB / 17.68 MB, free: 5.496 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.001521/0.001521, allocations: 192 kB / 18.62 MB, free: 4.562 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.399/1.399, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.295/1.295, allocations: 119.3 MB / 411.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001805, allocations: 59.91 kB / 0.4923 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7393/0.7411, allocations: 80.69 MB / 0.5711 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.00316/0.7444, allocations: 1.587 MB / 0.5727 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.7458, allocations: 0.8859 MB / 0.5736 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.447e-05/0.7459, allocations: 1.5 kB / 0.5736 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0009449/0.7469, allocations: 0.8938 MB / 0.5744 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0007113/0.7476, allocations: 0.5239 MB / 0.5749 GB, free: 40.83 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.748, allocations: 110.6 kB / 0.575 GB, free: 40.75 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001169/0.7492, allocations: 1.163 MB / 0.5762 GB, free: 40.18 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.256e-05/0.7492, allocations: 9.062 kB / 0.5762 GB, free: 40.18 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006344/0.7499, allocations: 0.5793 MB / 0.5768 GB, free: 39.89 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.751, allocations: 1.04 MB / 0.5778 GB, free: 39.49 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.7512, allocations: 65.44 kB / 0.5778 GB, free: 39.49 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002595/0.7514, allocations: 90.14 kB / 0.5779 GB, free: 39.48 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002768/0.7542, allocations: 2.507 MB / 0.5804 GB, free: 38.25 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001156/0.7554, allocations: 1.434 MB / 0.5818 GB, free: 37.02 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.004189/0.7596, allocations: 3.179 MB / 0.5849 GB, free: 35.05 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.7596, allocations: 0 / 0.5849 GB, free: 35.05 MB / 462.3 MB Notification: Performance of FrontEnd: time 4.819e-06/0.7596, allocations: 0 / 0.5849 GB, free: 35.05 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001259/0.7598, allocations: 5.406 kB / 0.5849 GB, free: 35.05 MB / 462.3 MB 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.008865/0.7686, allocations: 5.17 MB / 0.5899 GB, free: 30.17 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 7.333e-05/0.7687, allocations: 19.89 kB / 0.5899 GB, free: 30.15 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007021/0.7694, allocations: 0.556 MB / 0.5905 GB, free: 29.59 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01062/0.7801, allocations: 6.551 MB / 0.5969 GB, free: 22.96 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.7802, allocations: 384 / 0.5969 GB, free: 22.96 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.7802, allocations: 8.062 kB / 0.5969 GB, free: 22.95 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.7804, allocations: 53.67 kB / 0.5969 GB, free: 22.89 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.7804, allocations: 0 / 0.5969 GB, free: 22.89 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.7804, allocations: 3.938 kB / 0.597 GB, free: 22.89 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.7804, allocations: 0 / 0.597 GB, free: 22.89 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.204e-05/0.7805, allocations: 19.94 kB / 0.597 GB, free: 22.87 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/0.7825, allocations: 1.859 MB / 0.5988 GB, free: 20.96 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.7827, allocations: 54.61 kB / 0.5988 GB, free: 20.9 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.884e-05/0.7828, allocations: 28.77 kB / 0.5989 GB, free: 20.87 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.7828, allocations: 4 kB / 0.5989 GB, free: 20.86 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.783, allocations: 67.33 kB / 0.5989 GB, free: 20.79 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.874e-06/0.783, allocations: 0 / 0.5989 GB, free: 20.79 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0007947/0.7838, allocations: 0.6544 MB / 0.5996 GB, free: 20.12 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.7838, allocations: 51.41 kB / 0.5996 GB, free: 20.05 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006028/0.7899, allocations: 6.442 MB / 0.6059 GB, free: 13.66 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.7899, allocations: 25.7 kB / 0.6059 GB, free: 13.62 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001707/0.7916, allocations: 2.665 MB / 0.6085 GB, free: 10.96 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.372e-05/0.7917, allocations: 11.91 kB / 0.6086 GB, free: 10.95 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/0.7917, allocations: 21.62 kB / 0.6086 GB, free: 10.92 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.924e-05/0.7918, allocations: 310 kB / 0.6089 GB, free: 10.61 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.513e-05/0.7919, allocations: 12 kB / 0.6089 GB, free: 10.6 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.859e-05/0.7919, allocations: 37.64 kB / 0.6089 GB, free: 10.55 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.734e-05/0.792, allocations: 45.95 kB / 0.609 GB, free: 10.5 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7921, allocations: 4 kB / 0.609 GB, free: 10.5 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007429/0.7928, allocations: 0.6465 MB / 0.6096 GB, free: 9.84 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.7928, allocations: 4 kB / 0.6096 GB, free: 9.836 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.7928, allocations: 0 / 0.6096 GB, free: 9.836 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.7929, allocations: 4 kB / 0.6096 GB, free: 9.832 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.793, allocations: 8 kB / 0.6096 GB, free: 9.824 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.793, allocations: 3.984 kB / 0.6096 GB, free: 9.82 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004523/0.7935, allocations: 20 kB / 0.6096 GB, free: 9.801 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.7935, allocations: 0 / 0.6096 GB, free: 9.801 MB / 462.3 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.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.001442/0.7949, allocations: 1.29 MB / 0.6109 GB, free: 8.5 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003837/0.7953, allocations: 0.5863 MB / 0.6115 GB, free: 7.906 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000521/0.7958, allocations: 0.652 MB / 0.6121 GB, free: 7.254 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.7958, allocations: 0 / 0.6121 GB, free: 7.254 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.7959, allocations: 0 / 0.6121 GB, free: 7.254 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.7959, allocations: 0 / 0.6121 GB, free: 7.254 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.7974, allocations: 2.038 MB / 0.6141 GB, free: 5.168 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7974, allocations: 0 / 0.6141 GB, free: 5.168 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.778e-05/0.7974, allocations: 4 kB / 0.6141 GB, free: 5.164 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.7974, allocations: 0 / 0.6141 GB, free: 5.164 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.7974, allocations: 11.92 kB / 0.6141 GB, free: 5.152 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.7974, allocations: 0 / 0.6141 GB, free: 5.152 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7974, allocations: 0 / 0.6141 GB, free: 5.152 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005326/0.798, allocations: 0.7212 MB / 0.6148 GB, free: 4.406 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006349/0.7986, allocations: 0.517 MB / 0.6153 GB, free: 3.863 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/0.7988, allocations: 20.12 kB / 0.6153 GB, free: 3.844 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.7992, allocations: 19.98 kB / 0.6154 GB, free: 3.824 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.7992, allocations: 8 kB / 0.6154 GB, free: 3.816 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.7992, allocations: 0 / 0.6154 GB, free: 3.816 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.004716/0.8039, allocations: 4.42 MB / 0.6197 GB, free: 15.44 MB / 478.3 MB Notification: Performance of sort global known variables: time 1.71e-07/0.804, allocations: 4 kB / 0.6197 GB, free: 15.43 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0006908/0.8047, allocations: 168 kB / 0.6198 GB, free: 15.27 MB / 478.3 MB 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.001195/0.8059, allocations: 411.9 kB / 0.6202 GB, free: 15.02 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.8061, allocations: 35.98 kB / 0.6203 GB, free: 14.98 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8061, allocations: 8 kB / 0.6203 GB, free: 14.98 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 6.668e-05/0.8062, allocations: 24.05 kB / 0.6203 GB, free: 14.95 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.8076, allocations: 465.4 kB / 0.6207 GB, free: 14.5 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/0.8218, allocations: 8.42 MB / 0.629 GB, free: 6.043 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00372/0.8256, allocations: 2.733 MB / 0.6316 GB, free: 3.285 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.003944/0.8295, allocations: 1.403 MB / 0.633 GB, free: 1.875 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/0.8307, allocations: 0.5655 MB / 0.6336 GB, free: 1.309 MB / 478.3 MB Notification: Performance of SimCode: time 2.094e-06/0.8307, allocations: 0 / 0.6336 GB, free: 1.309 MB / 478.3 MB Notification: Performance of Templates: time 0.05179/0.8825, allocations: 15.62 MB / 0.6488 GB, free: 1.676 MB / 494.3 MB 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins1/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