Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.299/1.299, 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.001299/0.001299, allocations: 89.5 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7925/0.7925, allocations: 120.5 MB / 463 MB, free: 8.715 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003046, allocations: 4 kB / 0.5433 GB, free: 42.44 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1482, allocations: 82.84 MB / 0.6242 GB, free: 9.234 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7112/0.8594, allocations: 126.7 MB / 0.748 GB, free: 7.199 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001137/0.8596, allocations: 56.67 kB / 0.748 GB, free: 7.176 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.2202/1.08, allocations: 67.66 MB / 0.8141 GB, free: 6.543 MB / 0.5732 GB Notification: Performance of FrontEnd: time 2.064e-06/1.08, allocations: 0 / 0.8141 GB, free: 6.543 MB / 0.5732 GB Notification: Performance of Transformations before backend: time 0.0003103/1.08, allocations: 124 kB / 0.8142 GB, free: 6.422 MB / 0.5732 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.01282/1.093, allocations: 8.973 MB / 0.823 GB, free: 13.82 MB / 0.5888 GB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/1.093, allocations: 8.031 kB / 0.823 GB, free: 13.81 MB / 0.5888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002908/1.096, allocations: 1.137 MB / 0.8241 GB, free: 12.66 MB / 0.5888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02964/1.126, allocations: 11.31 MB / 0.8352 GB, free: 2.59 MB / 0.5888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/1.126, allocations: 0 / 0.8352 GB, free: 2.59 MB / 0.5888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.163e-05/1.126, allocations: 32 kB / 0.8352 GB, free: 2.559 MB / 0.5888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005679/1.126, allocations: 422.4 kB / 0.8356 GB, free: 2.145 MB / 0.5888 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/1.126, allocations: 0 / 0.8356 GB, free: 2.145 MB / 0.5888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.858e-05/1.126, allocations: 35.94 kB / 0.8356 GB, free: 2.109 MB / 0.5888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/1.126, allocations: 7.953 kB / 0.8356 GB, free: 2.102 MB / 0.5888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/1.127, allocations: 239.8 kB / 0.8359 GB, free: 1.875 MB / 0.5888 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006228/1.133, allocations: 3.578 MB / 0.8394 GB, free: 15.23 MB / 0.6044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/1.133, allocations: 170.3 kB / 0.8395 GB, free: 15.07 MB / 0.6044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/1.133, allocations: 0 / 0.8395 GB, free: 15.07 MB / 0.6044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004647/1.134, allocations: 404.6 kB / 0.8399 GB, free: 14.66 MB / 0.6044 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/1.134, allocations: 3.938 kB / 0.8399 GB, free: 14.66 MB / 0.6044 GB Notification: Performance of matching and sorting (n=8): time 0.002657/1.136, allocations: 2.141 MB / 0.842 GB, free: 12.5 MB / 0.6044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/1.137, allocations: 85.06 kB / 0.8421 GB, free: 12.4 MB / 0.6044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01414/1.151, allocations: 10.71 MB / 0.8525 GB, free: 3.746 MB / 0.6044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001642/1.151, allocations: 57.7 kB / 0.8526 GB, free: 3.684 MB / 0.6044 GB Notification: Performance of collectInitialEqns (initialization): time 0.003513/1.154, allocations: 5.293 MB / 0.8578 GB, free: 2.445 MB / 0.6044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/1.155, allocations: 55.36 kB / 0.8578 GB, free: 2.395 MB / 0.6044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/1.155, allocations: 32 kB / 0.8578 GB, free: 2.363 MB / 0.6044 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.155, allocations: 313.8 kB / 0.8581 GB, free: 2.055 MB / 0.6044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/1.155, allocations: 135.9 kB / 0.8583 GB, free: 1.926 MB / 0.6044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/1.155, allocations: 147.7 kB / 0.8584 GB, free: 1.789 MB / 0.6044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/1.155, allocations: 169.4 kB / 0.8586 GB, free: 1.625 MB / 0.6044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/1.155, allocations: 4 kB / 0.8586 GB, free: 1.621 MB / 0.6044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002411/1.158, allocations: 1.925 MB / 0.8605 GB, free: 15.69 MB / 0.62 GB Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/1.158, allocations: 40.5 kB / 0.8605 GB, free: 15.64 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/1.158, allocations: 0 / 0.8605 GB, free: 15.64 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/1.158, allocations: 0 / 0.8605 GB, free: 15.64 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.482e-05/1.158, allocations: 4 kB / 0.8605 GB, free: 15.64 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/1.158, allocations: 1 kB / 0.8605 GB, free: 15.64 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008186/1.159, allocations: 39.78 kB / 0.8605 GB, free: 15.61 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000376/1.159, allocations: 437.2 kB / 0.861 GB, free: 15.24 MB / 0.62 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.003658/1.163, allocations: 2.537 MB / 0.8634 GB, free: 12.93 MB / 0.62 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009271/1.164, allocations: 1.141 MB / 0.8646 GB, free: 11.78 MB / 0.62 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/1.166, allocations: 1.282 MB / 0.8658 GB, free: 10.73 MB / 0.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/1.166, allocations: 4 kB / 0.8658 GB, free: 10.73 MB / 0.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/1.166, allocations: 0 / 0.8658 GB, free: 10.73 MB / 0.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/1.166, allocations: 0 / 0.8658 GB, free: 10.73 MB / 0.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003475/1.169, allocations: 3.888 MB / 0.8696 GB, free: 7.781 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/1.169, allocations: 4.875 kB / 0.8696 GB, free: 7.777 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.006e-05/1.169, allocations: 0 / 0.8696 GB, free: 7.777 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/1.169, allocations: 3.938 kB / 0.8696 GB, free: 7.773 MB / 0.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/1.169, allocations: 107.8 kB / 0.8697 GB, free: 7.672 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.169, allocations: 4 kB / 0.8697 GB, free: 7.668 MB / 0.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.169, allocations: 0.75 kB / 0.8697 GB, free: 7.668 MB / 0.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/1.171, allocations: 2.039 MB / 0.8717 GB, free: 5.617 MB / 0.62 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001714/1.173, allocations: 1.037 MB / 0.8727 GB, free: 4.551 MB / 0.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003939/1.173, allocations: 32 kB / 0.8728 GB, free: 4.52 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005882/1.174, allocations: 36 kB / 0.8728 GB, free: 4.484 MB / 0.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/1.174, allocations: 3.812 kB / 0.8728 GB, free: 4.484 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003254/1.174, allocations: 457 kB / 0.8732 GB, free: 4.098 MB / 0.62 GB Notification: Performance of sorting global known variables: time 0.01152/1.186, allocations: 8.538 MB / 0.8816 GB, free: 13.35 MB / 0.6357 GB Notification: Performance of sort global known variables: time 9.42e-07/1.186, allocations: 0 / 0.8816 GB, free: 13.35 MB / 0.6357 GB Notification: Performance of remove unused functions: time 0.001333/1.187, allocations: 348 kB / 0.8819 GB, free: 13.01 MB / 0.6357 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.000364/1.188, allocations: 159.2 kB / 0.8821 GB, free: 12.84 MB / 0.6357 GB Notification: Performance of simCode: created initialization part: time 0.0006327/1.188, allocations: 417.3 kB / 0.8825 GB, free: 12.46 MB / 0.6357 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.188, allocations: 0 / 0.8825 GB, free: 12.46 MB / 0.6357 GB Notification: Performance of simCode: created simulation system equations: time 0.0003048/1.189, allocations: 266.5 kB / 0.8827 GB, free: 12.21 MB / 0.6357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/1.191, allocations: 0.8267 MB / 0.8835 GB, free: 11.88 MB / 0.6357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02798/1.219, allocations: 18.11 MB / 0.9012 GB, free: 10.35 MB / 0.6513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005308/1.224, allocations: 4.971 MB / 0.906 GB, free: 5.598 MB / 0.6513 GB Notification: Performance of simCode: alias equations: time 0.005738/1.23, allocations: 2.316 MB / 0.9083 GB, free: 3.27 MB / 0.6513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005037/1.231, allocations: 0.4955 MB / 0.9088 GB, free: 2.773 MB / 0.6513 GB Notification: Performance of SimCode: time 8.62e-07/1.231, allocations: 0 / 0.9088 GB, free: 2.773 MB / 0.6513 GB Notification: Performance of Templates: time 0.1003/1.331, allocations: 40.7 MB / 0.9485 GB, free: 9.969 MB / 0.6982 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches