Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 111.7 kB / 17.74 MB, free: 5.316 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.001346/0.001346, allocations: 184.5 kB / 18.67 MB, free: 4.398 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.356/1.356, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9771/0.9771, allocations: 119.3 MB / 411.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 61.53 kB / 0.5716 GB, free: 39.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1622, allocations: 80.7 MB / 0.6504 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002463/0.1647, allocations: 1.413 MB / 0.6517 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009707/0.1657, allocations: 0.573 MB / 0.6523 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.883e-05/0.1658, allocations: 0 / 0.6523 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.167, allocations: 1.719 MB / 0.654 GB, free: 9.367 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.1683, allocations: 1.75 MB / 0.6557 GB, free: 7.613 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.1686, allocations: 87.41 kB / 0.6558 GB, free: 7.531 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.00303/0.1717, allocations: 4.318 MB / 0.66 GB, free: 3.207 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.1717, allocations: 4 kB / 0.66 GB, free: 3.203 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00237/0.1741, allocations: 2.141 MB / 0.6621 GB, free: 1.059 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003434/0.1776, allocations: 4.056 MB / 0.6661 GB, free: 13 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004524/0.178, allocations: 252 kB / 0.6663 GB, free: 12.75 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005515/0.1786, allocations: 327.9 kB / 0.6666 GB, free: 12.43 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.01008/0.1887, allocations: 9.958 MB / 0.6763 GB, free: 2.445 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.007837/0.1966, allocations: 5.636 MB / 0.6818 GB, free: 12.75 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.0129/0.2095, allocations: 12.42 MB / 0.694 GB, free: 276 kB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 1.095e-05/0.2096, allocations: 0 / 0.694 GB, free: 276 kB / 0.5295 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2096, allocations: 0 / 0.694 GB, free: 276 kB / 0.5295 GB Notification: Performance of Transformations before backend: time 0.0005456/0.2101, allocations: 4 kB / 0.694 GB, free: 272 kB / 0.5295 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.0292/0.2393, allocations: 19.56 MB / 0.7131 GB, free: 12.47 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.2394, allocations: 12.02 kB / 0.7131 GB, free: 12.46 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002913/0.2423, allocations: 2.206 MB / 0.7152 GB, free: 10.23 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05006/0.2924, allocations: 25.82 MB / 0.7404 GB, free: 220 kB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.2925, allocations: 384 / 0.7404 GB, free: 220 kB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003462/0.2928, allocations: 68.38 kB / 0.7405 GB, free: 152 kB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.2942, allocations: 0.7825 MB / 0.7413 GB, free: 15.36 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.2943, allocations: 7.938 kB / 0.7413 GB, free: 15.35 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.2944, allocations: 60 kB / 0.7413 GB, free: 15.29 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2944, allocations: 4 kB / 0.7413 GB, free: 15.29 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006277/0.2951, allocations: 460 kB / 0.7418 GB, free: 14.84 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01535/0.3104, allocations: 6.992 MB / 0.7486 GB, free: 7.797 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008514/0.3113, allocations: 290.6 kB / 0.7489 GB, free: 7.504 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00062/0.3119, allocations: 280.9 kB / 0.7492 GB, free: 7.227 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.312, allocations: 7.938 kB / 0.7492 GB, free: 7.219 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008694/0.3129, allocations: 0.7112 MB / 0.7499 GB, free: 6.488 MB / 0.592 GB Notification: Performance of pre-optimization done (n=8): time 2.635e-06/0.3129, allocations: 0 / 0.7499 GB, free: 6.488 MB / 0.592 GB Notification: Performance of matching and sorting (n=8): time 0.006067/0.3189, allocations: 4.232 MB / 0.754 GB, free: 2.215 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.319, allocations: 77.11 kB / 0.7541 GB, free: 2.121 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6857/1.005, allocations: 24.83 MB / 0.7783 GB, free: 90.28 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0005033/1.005, allocations: 89.69 kB / 0.7784 GB, free: 90.25 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.01284/1.018, allocations: 10.83 MB / 0.789 GB, free: 81.62 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006043/1.019, allocations: 83.91 kB / 0.789 GB, free: 81.62 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001398/1.02, allocations: 460.7 kB / 0.7895 GB, free: 81.6 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 6.106e-05/1.02, allocations: 313 kB / 0.7898 GB, free: 81.29 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006694/1.021, allocations: 262.8 kB / 0.79 GB, free: 81.29 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00055/1.022, allocations: 269.9 kB / 0.7903 GB, free: 81.28 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/1.023, allocations: 0.5935 MB / 0.7909 GB, free: 81.19 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/1.023, allocations: 0 / 0.7909 GB, free: 81.19 MB / 0.6079 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.007458/1.03, allocations: 3.982 MB / 0.7948 GB, free: 81.11 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 5.646e-05/1.03, allocations: 34.52 kB / 0.7948 GB, free: 81.07 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/1.03, allocations: 0 / 0.7948 GB, free: 81.07 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/1.03, allocations: 2.344 kB / 0.7948 GB, free: 81.07 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.348e-05/1.03, allocations: 4.312 kB / 0.7948 GB, free: 81.07 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/1.03, allocations: 0.7812 kB / 0.7948 GB, free: 81.07 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00283/1.033, allocations: 66.94 kB / 0.7949 GB, free: 81.07 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001043/1.034, allocations: 0.8577 MB / 0.7957 GB, free: 80.95 MB / 0.6079 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.007724/1.042, allocations: 4.906 MB / 0.8005 GB, free: 80.32 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003014/1.045, allocations: 2.27 MB / 0.8027 GB, free: 80.31 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00489/1.05, allocations: 2.57 MB / 0.8052 GB, free: 79.57 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.05, allocations: 3.375 kB / 0.8052 GB, free: 79.57 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.05, allocations: 0 / 0.8052 GB, free: 79.57 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.05, allocations: 0 / 0.8052 GB, free: 79.57 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01736/1.067, allocations: 7.618 MB / 0.8127 GB, free: 76.71 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/1.067, allocations: 0 / 0.8127 GB, free: 76.71 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.842e-05/1.067, allocations: 3.75 kB / 0.8127 GB, free: 76.71 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/1.067, allocations: 6 kB / 0.8127 GB, free: 76.71 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004634/1.068, allocations: 192.5 kB / 0.8129 GB, free: 76.71 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/1.068, allocations: 8.375 kB / 0.8129 GB, free: 76.71 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.068, allocations: 2.25 kB / 0.8129 GB, free: 76.71 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005591/1.073, allocations: 4.167 MB / 0.8169 GB, free: 75.18 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003983/1.077, allocations: 1.978 MB / 0.8189 GB, free: 73.83 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002024/1.08, allocations: 71.81 kB / 0.8189 GB, free: 73.83 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002013/1.082, allocations: 68.12 kB / 0.819 GB, free: 73.82 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/1.082, allocations: 0 / 0.819 GB, free: 73.82 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005783/1.082, allocations: 0.8611 MB / 0.8198 GB, free: 73.7 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.02472/1.107, allocations: 17.24 MB / 0.8367 GB, free: 56.95 MB / 0.6079 GB Notification: Performance of sort global known variables: time 7.72e-07/1.107, allocations: 0 / 0.8367 GB, free: 56.95 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.002602/1.11, allocations: 0.6439 MB / 0.8373 GB, free: 56.31 MB / 0.6079 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.0002844/1.11, allocations: 187.1 kB / 0.8375 GB, free: 56.12 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.001003/1.111, allocations: 0.6878 MB / 0.8382 GB, free: 55.43 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.111, allocations: 0 / 0.8382 GB, free: 55.43 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.0005042/1.111, allocations: 423.4 kB / 0.8386 GB, free: 55 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008653/1.12, allocations: 1.688 MB / 0.8402 GB, free: 53.31 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04802/1.168, allocations: 35.49 MB / 0.8749 GB, free: 18.02 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01039/1.179, allocations: 8.917 MB / 0.8836 GB, free: 9.062 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001642/1.18, allocations: 0.9838 MB / 0.8845 GB, free: 8.078 MB / 0.6079 GB Notification: Performance of SimCode: time 1.292e-06/1.18, allocations: 3.844 kB / 0.8845 GB, free: 8.078 MB / 0.6079 GB Notification: Performance of Templates: time 4.897/6.077, allocations: 1.622 GB / 2.507 GB, free: 96.45 MB / 0.8267 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches