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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001891/0.001895, allocations: 181.1 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001062, allocations: 94.83 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.069/1.069, allocations: 120.5 MB / 463.1 MB, free: 8.723 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 11.98 kB / 0.5433 GB, free: 42.41 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1766, allocations: 82.85 MB / 0.6242 GB, free: 9.238 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8352/1.012, allocations: 126.7 MB / 0.748 GB, free: 7.434 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001614/1.012, allocations: 47.17 kB / 0.748 GB, free: 7.414 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.08243/1.095, allocations: 27.64 MB / 0.775 GB, free: 13.5 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.785e-06/1.095, allocations: 0 / 0.775 GB, free: 13.5 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.0003609/1.095, allocations: 64 kB / 0.7751 GB, free: 13.44 MB / 0.5419 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.008936/1.104, allocations: 4.68 MB / 0.7797 GB, free: 8.922 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/1.104, allocations: 8.031 kB / 0.7797 GB, free: 8.914 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/1.105, allocations: 0.5785 MB / 0.7802 GB, free: 8.328 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01488/1.12, allocations: 5.708 MB / 0.7858 GB, free: 3.219 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/1.12, allocations: 0.875 kB / 0.7858 GB, free: 3.219 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.642e-05/1.12, allocations: 16 kB / 0.7858 GB, free: 3.203 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/1.121, allocations: 233.4 kB / 0.786 GB, free: 2.973 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/1.121, allocations: 0 / 0.786 GB, free: 2.973 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.465e-05/1.121, allocations: 16 kB / 0.7861 GB, free: 2.957 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/1.121, allocations: 11.95 kB / 0.7861 GB, free: 2.945 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/1.121, allocations: 127.6 kB / 0.7862 GB, free: 2.828 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004142/1.125, allocations: 1.862 MB / 0.788 GB, free: 1.414 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/1.125, allocations: 98.33 kB / 0.7881 GB, free: 1.316 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/1.125, allocations: 0 / 0.7881 GB, free: 1.316 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003495/1.126, allocations: 254.1 kB / 0.7883 GB, free: 1.062 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=8): time 2.595e-06/1.126, allocations: 3.938 kB / 0.7883 GB, free: 1.059 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.00189/1.128, allocations: 1.192 MB / 0.7895 GB, free: 15.85 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/1.128, allocations: 81.11 kB / 0.7896 GB, free: 15.75 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01007/1.138, allocations: 5.399 MB / 0.7949 GB, free: 11.38 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001416/1.138, allocations: 41.7 kB / 0.7949 GB, free: 11.34 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00305/1.141, allocations: 2.572 MB / 0.7974 GB, free: 10.67 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/1.141, allocations: 35.66 kB / 0.7974 GB, free: 10.64 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/1.141, allocations: 19.94 kB / 0.7975 GB, free: 10.62 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.0001366/1.141, allocations: 306 kB / 0.7978 GB, free: 10.32 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/1.142, allocations: 87.73 kB / 0.7978 GB, free: 10.24 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/1.142, allocations: 71.88 kB / 0.7979 GB, free: 10.17 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/1.142, allocations: 116.8 kB / 0.798 GB, free: 10.06 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.142, allocations: 0 / 0.798 GB, free: 10.06 MB / 0.5575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00154/1.143, allocations: 1.023 MB / 0.799 GB, free: 9.039 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 4.931e-05/1.143, allocations: 36.5 kB / 0.7991 GB, free: 9 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/1.143, allocations: 4 kB / 0.7991 GB, free: 8.996 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/1.144, allocations: 0 / 0.7991 GB, free: 8.996 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.861e-05/1.144, allocations: 4 kB / 0.7991 GB, free: 8.992 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/1.144, allocations: 0 / 0.7991 GB, free: 8.992 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006675/1.144, allocations: 31.89 kB / 0.7991 GB, free: 8.961 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002126/1.145, allocations: 222.5 kB / 0.7993 GB, free: 8.777 MB / 0.5575 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002449/1.147, allocations: 1.33 MB / 0.8006 GB, free: 7.555 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008095/1.148, allocations: 0.5824 MB / 0.8012 GB, free: 6.965 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/1.149, allocations: 0.6426 MB / 0.8018 GB, free: 6.441 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/1.149, allocations: 0 / 0.8018 GB, free: 6.441 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.149, allocations: 0 / 0.8018 GB, free: 6.441 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/1.149, allocations: 0 / 0.8018 GB, free: 6.441 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003482/1.153, allocations: 2.026 MB / 0.8038 GB, free: 4.863 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.153, allocations: 8 kB / 0.8038 GB, free: 4.855 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/1.153, allocations: 3.938 kB / 0.8038 GB, free: 4.852 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/1.153, allocations: 3.938 kB / 0.8038 GB, free: 4.848 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.186e-05/1.153, allocations: 52 kB / 0.8038 GB, free: 4.797 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.153, allocations: 0 / 0.8038 GB, free: 4.797 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.153, allocations: 0 / 0.8038 GB, free: 4.797 MB / 0.5575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/1.155, allocations: 1.104 MB / 0.8049 GB, free: 3.691 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/1.156, allocations: 0.5716 MB / 0.8055 GB, free: 3.098 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000339/1.156, allocations: 20 kB / 0.8055 GB, free: 3.078 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/1.156, allocations: 20 kB / 0.8055 GB, free: 3.059 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/1.156, allocations: 11.97 kB / 0.8055 GB, free: 3.047 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002034/1.157, allocations: 222.6 kB / 0.8057 GB, free: 2.863 MB / 0.5575 GB Notification: Performance of sorting global known variables: time 0.006995/1.164, allocations: 4.309 MB / 0.81 GB, free: 15.45 MB / 0.5732 GB Notification: Performance of sort global known variables: time 1.9e-07/1.164, allocations: 0 / 0.81 GB, free: 15.45 MB / 0.5732 GB Notification: Performance of remove unused functions: time 0.0007911/1.165, allocations: 191.9 kB / 0.8101 GB, free: 15.26 MB / 0.5732 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002789/1.165, allocations: 144.7 kB / 0.8103 GB, free: 15.11 MB / 0.5732 GB Notification: Performance of simCode: created initialization part: time 0.0004541/1.165, allocations: 282 kB / 0.8105 GB, free: 14.86 MB / 0.5732 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.165, allocations: 4 kB / 0.8105 GB, free: 14.86 MB / 0.5732 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/1.166, allocations: 186.6 kB / 0.8107 GB, free: 14.69 MB / 0.5732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/1.167, allocations: 421.6 kB / 0.8111 GB, free: 14.52 MB / 0.5732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/1.18, allocations: 8.934 MB / 0.8198 GB, free: 5.867 MB / 0.5732 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003132/1.183, allocations: 2.813 MB / 0.8226 GB, free: 3.148 MB / 0.5732 GB Notification: Performance of simCode: alias equations: time 0.002995/1.186, allocations: 1.161 MB / 0.8237 GB, free: 1.98 MB / 0.5732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/1.187, allocations: 263.4 kB / 0.824 GB, free: 1.723 MB / 0.5732 GB Notification: Performance of SimCode: time 1.393e-06/1.187, allocations: 4 kB / 0.824 GB, free: 1.719 MB / 0.5732 GB Notification: Performance of Templates: time 0.0535/1.24, allocations: 20.44 MB / 0.8439 GB, free: 13.17 MB / 0.6044 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","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches