Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 115.3 kB / 17.29 MB, free: 6.324 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.001322/0.001322, allocations: 197.9 kB / 18.2 MB, free: 5.406 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.311/1.311, allocations: 222.9 MB / 241.9 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9718/0.9718, allocations: 119.3 MB / 411.4 MB, free: 9.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 59.91 kB / 0.4911 GB, free: 14.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6169/0.6183, allocations: 80.67 MB / 0.5699 GB, free: 42.91 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002721/0.6211, allocations: 1.476 MB / 0.5713 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009372/0.622, allocations: 0.5707 MB / 0.5719 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.213e-05/0.6221, allocations: 1.094 kB / 0.5719 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002515/0.6247, allocations: 3.427 MB / 0.5752 GB, free: 39.59 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002947/0.6276, allocations: 3.463 MB / 0.5786 GB, free: 37.85 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.628, allocations: 77.17 kB / 0.5787 GB, free: 37.8 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.008089/0.6361, allocations: 8.553 MB / 0.587 GB, free: 32.29 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.868e-05/0.6362, allocations: 4 kB / 0.587 GB, free: 32.28 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007385/0.6436, allocations: 4.247 MB / 0.5912 GB, free: 28.03 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009275/0.6529, allocations: 8.088 MB / 0.5991 GB, free: 19.93 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.003099/0.6561, allocations: 0.4922 MB / 0.5996 GB, free: 19.43 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.6575, allocations: 0.5624 MB / 0.6001 GB, free: 18.87 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01514/0.6727, allocations: 19.9 MB / 0.6195 GB, free: 14.91 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.02096/0.6937, allocations: 11.25 MB / 0.6305 GB, free: 3.555 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02289/0.7166, allocations: 18.62 MB / 0.6487 GB, free: 0.8828 MB / 494.3 MB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.7167, allocations: 0 / 0.6487 GB, free: 0.8828 MB / 494.3 MB Notification: Performance of FrontEnd: time 2.375e-06/0.7167, allocations: 0 / 0.6487 GB, free: 0.8828 MB / 494.3 MB Notification: Performance of Transformations before backend: time 0.001022/0.7177, allocations: 0 / 0.6487 GB, free: 0.8828 MB / 494.3 MB 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.06069/0.7784, allocations: 38.75 MB / 0.6865 GB, free: 9.727 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 6.635e-05/0.7785, allocations: 8.031 kB / 0.6866 GB, free: 9.719 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008327/0.7869, allocations: 4.403 MB / 0.6909 GB, free: 5.258 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1261/0.913, allocations: 51.57 MB / 0.7412 GB, free: 1.34 MB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.913, allocations: 384 / 0.7412 GB, free: 1.34 MB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000314/0.9134, allocations: 136.3 kB / 0.7413 GB, free: 1.207 MB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.9151, allocations: 1.516 MB / 0.7428 GB, free: 15.68 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.9151, allocations: 0 / 0.7428 GB, free: 15.68 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002314/0.9153, allocations: 131.9 kB / 0.743 GB, free: 15.55 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.9153, allocations: 0 / 0.743 GB, free: 15.55 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.9165, allocations: 0.8711 MB / 0.7438 GB, free: 14.68 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02705/0.9435, allocations: 13.85 MB / 0.7573 GB, free: 0.7734 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.9451, allocations: 0.5337 MB / 0.7578 GB, free: 236 kB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6056/1.551, allocations: 0.519 MB / 0.7584 GB, free: 130.7 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/1.551, allocations: 0.8125 kB / 0.7584 GB, free: 130.7 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002578/1.553, allocations: 1.315 MB / 0.7596 GB, free: 130.6 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 3.647e-06/1.553, allocations: 0 / 0.7596 GB, free: 130.6 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.0162/1.57, allocations: 8.322 MB / 0.7678 GB, free: 130.5 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/1.57, allocations: 79.61 kB / 0.7678 GB, free: 130.4 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1039/1.674, allocations: 49.58 MB / 0.8163 GB, free: 99.77 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0007573/1.674, allocations: 154.3 kB / 0.8164 GB, free: 99.61 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02095/1.695, allocations: 22.55 MB / 0.8384 GB, free: 77.04 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.001277/1.697, allocations: 152.4 kB / 0.8386 GB, free: 76.91 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008674/1.698, allocations: 0.8742 MB / 0.8394 GB, free: 76.03 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 4.917e-05/1.698, allocations: 314 kB / 0.8397 GB, free: 75.72 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007273/1.698, allocations: 0.5 MB / 0.8402 GB, free: 75.22 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005958/1.699, allocations: 0.5045 MB / 0.8407 GB, free: 74.71 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/1.7, allocations: 1.082 MB / 0.8418 GB, free: 73.62 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.7, allocations: 0 / 0.8418 GB, free: 73.62 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.009882/1.71, allocations: 7.822 MB / 0.8494 GB, free: 68.24 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 5.3e-05/1.71, allocations: 33.7 kB / 0.8494 GB, free: 68.2 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/1.71, allocations: 0 / 0.8494 GB, free: 68.2 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.306e-05/1.71, allocations: 6.938 kB / 0.8494 GB, free: 68.2 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.833e-05/1.71, allocations: 7.938 kB / 0.8494 GB, free: 68.19 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/1.71, allocations: 7.234 kB / 0.8494 GB, free: 68.19 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007144/1.718, allocations: 134.5 kB / 0.8496 GB, free: 68.06 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001408/1.719, allocations: 1.716 MB / 0.8513 GB, free: 66.35 MB / 0.5923 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.01365/1.733, allocations: 9.667 MB / 0.8607 GB, free: 56.66 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006338/1.739, allocations: 4.521 MB / 0.8651 GB, free: 52.08 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009675/1.749, allocations: 5.118 MB / 0.8701 GB, free: 46.94 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/1.749, allocations: 3.781 kB / 0.8701 GB, free: 46.94 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.749, allocations: 0 / 0.8701 GB, free: 46.94 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/1.749, allocations: 0 / 0.8701 GB, free: 46.94 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03773/1.786, allocations: 15.08 MB / 0.8848 GB, free: 31.8 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/1.787, allocations: 0 / 0.8848 GB, free: 31.8 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.466e-05/1.787, allocations: 2.438 kB / 0.8848 GB, free: 31.8 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/1.787, allocations: 0 / 0.8848 GB, free: 31.8 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0012/1.788, allocations: 384 kB / 0.8852 GB, free: 31.42 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/1.788, allocations: 0 / 0.8852 GB, free: 31.42 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.788, allocations: 0 / 0.8852 GB, free: 31.42 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009676/1.798, allocations: 8.16 MB / 0.8932 GB, free: 23.18 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009806/1.807, allocations: 3.877 MB / 0.897 GB, free: 19.23 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005819/1.813, allocations: 128 kB / 0.8971 GB, free: 19.11 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007218/1.82, allocations: 128 kB / 0.8972 GB, free: 18.98 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/1.821, allocations: 0 / 0.8972 GB, free: 18.98 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002279/1.823, allocations: 1.715 MB / 0.8989 GB, free: 17.27 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.06537/1.888, allocations: 34.49 MB / 0.9326 GB, free: 15.08 MB / 0.6235 GB Notification: Performance of sort global known variables: time 6.92e-07/1.888, allocations: 3 kB / 0.9326 GB, free: 15.08 MB / 0.6235 GB Notification: Performance of remove unused functions: time 0.00701/1.895, allocations: 1.249 MB / 0.9338 GB, free: 13.83 MB / 0.6235 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.0007607/1.896, allocations: 251.6 kB / 0.934 GB, free: 13.58 MB / 0.6235 GB Notification: Performance of simCode: created initialization part: time 0.002031/1.898, allocations: 1.236 MB / 0.9352 GB, free: 12.34 MB / 0.6235 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.898, allocations: 3.391 kB / 0.9352 GB, free: 12.34 MB / 0.6235 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/1.899, allocations: 0.7181 MB / 0.9359 GB, free: 11.61 MB / 0.6235 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02164/1.921, allocations: 3.384 MB / 0.9392 GB, free: 8.223 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1413/2.062, allocations: 81.11 MB / 1.018 GB, free: 7.547 MB / 0.7017 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3276/2.39, allocations: 17.32 MB / 1.035 GB, free: 212.9 MB / 0.7017 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004773/2.395, allocations: 1.962 MB / 1.037 GB, free: 212.9 MB / 0.7017 GB Notification: Performance of SimCode: time 1.142e-06/2.395, allocations: 0 / 1.037 GB, free: 212.9 MB / 0.7017 GB Notification: Performance of Templates: time 18.58/20.97, allocations: 6.093 GB / 7.131 GB, free: 119.8 MB / 0.7954 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches