Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 106.6 kB / 16.92 MB, free: 5.777 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.002452/0.002452, allocations: 187.3 kB / 17.85 MB, free: 5.168 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.437/1.437, allocations: 222.9 MB / 241.6 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.174/1.174, allocations: 119.3 MB / 411 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 63.89 kB / 0.4909 GB, free: 13.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6239/0.6257, allocations: 80.69 MB / 0.5697 GB, free: 43.41 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000): time 0.002565/0.6283, allocations: 1.58 MB / 0.5713 GB, free: 42.17 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.6296, allocations: 0.8845 MB / 0.5722 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.278e-05/0.6296, allocations: 1.375 kB / 0.5722 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.004279/0.6339, allocations: 6.877 MB / 0.5789 GB, free: 38.02 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002373/0.6364, allocations: 3.517 MB / 0.5823 GB, free: 36.23 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.6367, allocations: 102.4 kB / 0.5824 GB, free: 36.16 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.005112/0.6418, allocations: 8.589 MB / 0.5908 GB, free: 28.09 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.754e-05/0.6419, allocations: 8 kB / 0.5908 GB, free: 28.08 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005402/0.6473, allocations: 4.266 MB / 0.595 GB, free: 23.81 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00775/0.6551, allocations: 8.096 MB / 0.6029 GB, free: 15.7 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.002457/0.6576, allocations: 500 kB / 0.6033 GB, free: 15.21 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.659, allocations: 0.5156 MB / 0.6039 GB, free: 14.7 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01784/0.6769, allocations: 19.92 MB / 0.6233 GB, free: 10.72 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01868/0.6956, allocations: 11.25 MB / 0.6343 GB, free: 15.35 MB / 494.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02644/0.7221, allocations: 24.26 MB / 0.658 GB, free: 6.953 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.7221, allocations: 4 kB / 0.658 GB, free: 6.949 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7221, allocations: 0 / 0.658 GB, free: 6.949 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001134/0.7233, allocations: 0 / 0.658 GB, free: 6.949 MB / 0.4983 GB 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.06921/0.7925, allocations: 38.77 MB / 0.6958 GB, free: 15.79 MB / 0.5452 GB Notification: Performance of prepare preOptimizeDAE: time 7.803e-05/0.7926, allocations: 15.89 kB / 0.6959 GB, free: 15.77 MB / 0.5452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009704/0.8023, allocations: 4.403 MB / 0.7002 GB, free: 11.31 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1385/0.9409, allocations: 51.58 MB / 0.7505 GB, free: 7.375 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.941, allocations: 8.375 kB / 0.7505 GB, free: 7.367 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.941, allocations: 8.109 kB / 0.7506 GB, free: 7.359 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.9412, allocations: 49.61 kB / 0.7506 GB, free: 7.305 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.9412, allocations: 4 kB / 0.7506 GB, free: 7.301 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.9412, allocations: 0 / 0.7506 GB, free: 7.301 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.9413, allocations: 8 kB / 0.7506 GB, free: 7.293 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.48e-05/0.9413, allocations: 15.98 kB / 0.7506 GB, free: 7.277 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7214/1.663, allocations: 13.74 MB / 0.764 GB, free: 128 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/1.663, allocations: 52.92 kB / 0.7641 GB, free: 127.9 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/1.663, allocations: 21.83 kB / 0.7641 GB, free: 127.9 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/1.663, allocations: 1.344 kB / 0.7641 GB, free: 127.9 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/1.663, allocations: 67.58 kB / 0.7642 GB, free: 127.9 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=5): time 2.364e-06/1.663, allocations: 5.062 kB / 0.7642 GB, free: 127.9 MB / 0.5923 GB Notification: Performance of matching and sorting (n=5): time 0.01292/1.676, allocations: 4.607 MB / 0.7687 GB, free: 127.8 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/1.676, allocations: 51.41 kB / 0.7687 GB, free: 127.8 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09431/1.771, allocations: 50.57 MB / 0.8181 GB, free: 96.44 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/1.771, allocations: 32.08 kB / 0.8182 GB, free: 96.41 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02394/1.795, allocations: 23.58 MB / 0.8412 GB, free: 72.82 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/1.795, allocations: 13.78 kB / 0.8412 GB, free: 72.81 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/1.795, allocations: 24.67 kB / 0.8412 GB, free: 72.79 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 8.519e-05/1.795, allocations: 306 kB / 0.8415 GB, free: 72.48 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/1.795, allocations: 15.53 kB / 0.8415 GB, free: 72.47 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.004e-05/1.795, allocations: 33.7 kB / 0.8416 GB, free: 72.43 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/1.796, allocations: 37.7 kB / 0.8416 GB, free: 72.39 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/1.796, allocations: 2.438 kB / 0.8416 GB, free: 72.39 MB / 0.5923 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.009793/1.805, allocations: 4.599 MB / 0.8461 GB, free: 70.23 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/1.805, allocations: 7 kB / 0.8461 GB, free: 70.23 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/1.805, allocations: 0 / 0.8461 GB, free: 70.23 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/1.805, allocations: 0 / 0.8461 GB, free: 70.23 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/1.806, allocations: 15.98 kB / 0.8461 GB, free: 70.21 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/1.806, allocations: 0 / 0.8461 GB, free: 70.21 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0113/1.817, allocations: 135.9 kB / 0.8462 GB, free: 70.08 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/1.817, allocations: 0 / 0.8462 GB, free: 70.08 MB / 0.5923 GB 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.01536/1.832, allocations: 9.399 MB / 0.8554 GB, free: 60.66 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01116/1.844, allocations: 4.648 MB / 0.86 GB, free: 55.96 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/1.857, allocations: 5.118 MB / 0.8649 GB, free: 50.83 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/1.857, allocations: 4 kB / 0.865 GB, free: 50.82 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.857, allocations: 3.609 kB / 0.865 GB, free: 50.82 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/1.857, allocations: 3.938 kB / 0.865 GB, free: 50.82 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03698/1.894, allocations: 15.08 MB / 0.8797 GB, free: 35.68 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/1.894, allocations: 6.188 kB / 0.8797 GB, free: 35.68 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.225e-05/1.894, allocations: 8 kB / 0.8797 GB, free: 35.68 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/1.894, allocations: 0 / 0.8797 GB, free: 35.68 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/1.894, allocations: 3.984 kB / 0.8797 GB, free: 35.67 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/1.894, allocations: 0 / 0.8797 GB, free: 35.67 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.894, allocations: 0 / 0.8797 GB, free: 35.67 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008554/1.903, allocations: 5.038 MB / 0.8846 GB, free: 30.56 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008239/1.911, allocations: 3.508 MB / 0.888 GB, free: 26.98 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00565/1.917, allocations: 124 kB / 0.8882 GB, free: 26.86 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004995/1.922, allocations: 132 kB / 0.8883 GB, free: 26.73 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/1.922, allocations: 7.5 kB / 0.8883 GB, free: 26.72 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/1.922, allocations: 4 kB / 0.8883 GB, free: 26.72 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.07197/1.994, allocations: 35.01 MB / 0.9225 GB, free: 8.008 MB / 0.6079 GB Notification: Performance of sort global known variables: time 7.81e-07/1.994, allocations: 0 / 0.9225 GB, free: 8.008 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.008462/2.003, allocations: 1.242 MB / 0.9237 GB, free: 6.766 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: 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.001065/2.004, allocations: 416 kB / 0.9241 GB, free: 6.547 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.000242/2.004, allocations: 50.53 kB / 0.9242 GB, free: 6.5 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/2.004, allocations: 3 kB / 0.9242 GB, free: 6.5 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 6.345e-05/2.004, allocations: 16 kB / 0.9242 GB, free: 6.484 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02166/2.026, allocations: 3.4 MB / 0.9275 GB, free: 3.086 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1376/2.163, allocations: 71.59 MB / 0.9974 GB, free: 11.92 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04611/2.209, allocations: 17.34 MB / 1.014 GB, free: 10.53 MB / 0.7017 GB Notification: Performance of simCode: alias equations: time 0.4271/2.637, allocations: 11.32 MB / 1.025 GB, free: 210.2 MB / 0.7017 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01354/2.65, allocations: 4.408 MB / 1.03 GB, free: 209.4 MB / 0.7017 GB Notification: Performance of SimCode: time 1.332e-06/2.65, allocations: 0 / 1.03 GB, free: 209.4 MB / 0.7017 GB Notification: Performance of Templates: time 0.3786/3.029, allocations: 123.3 MB / 1.15 GB, free: 124.3 MB / 0.7017 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches