Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.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_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 105.4 kB / 16.92 MB, free: 6.145 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.001361/0.001361, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.623/1.623, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.424/1.424, allocations: 119.3 MB / 411 MB, free: 9.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 63.91 kB / 0.4909 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7845/0.7862, allocations: 80.69 MB / 0.5697 GB, free: 43.35 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.002717/0.789, allocations: 1.406 MB / 0.5711 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009356/0.79, allocations: 0.5744 MB / 0.5717 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.79, allocations: 0 / 0.5717 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.7903, allocations: 117.7 kB / 0.5718 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.7907, allocations: 166.3 kB / 0.5719 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.7909, allocations: 76.78 kB / 0.572 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000302/0.7913, allocations: 346.6 kB / 0.5723 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.291e-05/0.7913, allocations: 6.656 kB / 0.5724 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.7915, allocations: 168.7 kB / 0.5725 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003278/0.7918, allocations: 286 kB / 0.5728 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.176e-05/0.7919, allocations: 18.94 kB / 0.5728 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.7921, allocations: 95.3 kB / 0.5729 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0006777/0.7928, allocations: 0.632 MB / 0.5735 GB, free: 40.88 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.793, allocations: 377.6 kB / 0.5739 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0006638/0.7937, allocations: 0.8407 MB / 0.5747 GB, free: 40.04 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.7937, allocations: 1.438 kB / 0.5747 GB, free: 40.04 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.744e-06/0.7937, allocations: 0 / 0.5747 GB, free: 40.04 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.7937, allocations: 0 / 0.5747 GB, free: 40.04 MB / 462.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.001493/0.7952, allocations: 1.567 MB / 0.5762 GB, free: 38.75 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.7953, allocations: 9.781 kB / 0.5762 GB, free: 38.75 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.7954, allocations: 148 kB / 0.5764 GB, free: 38.67 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.7976, allocations: 1.753 MB / 0.5781 GB, free: 37.54 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.7976, allocations: 1.312 kB / 0.5781 GB, free: 37.54 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.7977, allocations: 5.906 kB / 0.5781 GB, free: 37.54 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.7979, allocations: 104 kB / 0.5782 GB, free: 37.48 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.7979, allocations: 0.9062 kB / 0.5782 GB, free: 37.48 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.7979, allocations: 8.609 kB / 0.5782 GB, free: 37.47 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.7979, allocations: 0.9062 kB / 0.5782 GB, free: 37.47 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.798, allocations: 44.84 kB / 0.5782 GB, free: 37.46 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006348/0.7987, allocations: 0.5805 MB / 0.5788 GB, free: 37.03 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.7988, allocations: 57.33 kB / 0.5789 GB, free: 36.99 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.423e-05/0.7989, allocations: 48.55 kB / 0.5789 GB, free: 36.97 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.7989, allocations: 3.938 kB / 0.5789 GB, free: 36.96 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002842/0.7992, allocations: 140 kB / 0.5791 GB, free: 36.85 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.7992, allocations: 0 / 0.5791 GB, free: 36.85 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0006753/0.7999, allocations: 409.5 kB / 0.5794 GB, free: 36.67 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.8, allocations: 83.89 kB / 0.5795 GB, free: 36.57 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/0.8019, allocations: 1.634 MB / 0.5811 GB, free: 35.83 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.8019, allocations: 30.73 kB / 0.5811 GB, free: 35.8 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004717/0.8024, allocations: 0.6282 MB / 0.5818 GB, free: 35.26 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.792e-05/0.8024, allocations: 24.08 kB / 0.5818 GB, free: 35.24 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.535e-05/0.8025, allocations: 47.72 kB / 0.5818 GB, free: 35.22 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.056e-05/0.8026, allocations: 310.8 kB / 0.5821 GB, free: 34.91 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.07e-05/0.8027, allocations: 32.72 kB / 0.5822 GB, free: 34.91 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.76e-05/0.8028, allocations: 31.69 kB / 0.5822 GB, free: 34.9 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.803, allocations: 138.4 kB / 0.5823 GB, free: 34.8 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.803, allocations: 0 / 0.5823 GB, free: 34.8 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005187/0.8035, allocations: 382.4 kB / 0.5827 GB, free: 34.62 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/0.8035, allocations: 33.08 kB / 0.5827 GB, free: 34.59 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.8036, allocations: 0 / 0.5827 GB, free: 34.59 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.8036, allocations: 0.9062 kB / 0.5827 GB, free: 34.59 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.252e-05/0.8037, allocations: 3.719 kB / 0.5827 GB, free: 34.59 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.8037, allocations: 4.891 kB / 0.5827 GB, free: 34.59 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.8038, allocations: 6.125 kB / 0.5827 GB, free: 34.59 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-05/0.8039, allocations: 66.12 kB / 0.5828 GB, free: 34.57 MB / 462.3 MB 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.0005428/0.8045, allocations: 453.8 kB / 0.5832 GB, free: 34.32 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.8047, allocations: 156.6 kB / 0.5834 GB, free: 34.23 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.8049, allocations: 173.2 kB / 0.5835 GB, free: 34.15 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.8049, allocations: 1.094 kB / 0.5835 GB, free: 34.15 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.8049, allocations: 144 / 0.5835 GB, free: 34.15 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.8049, allocations: 9.062 kB / 0.5836 GB, free: 34.14 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007079/0.8057, allocations: 0.629 MB / 0.5842 GB, free: 33.7 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8057, allocations: 0 / 0.5842 GB, free: 33.7 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.289e-05/0.8057, allocations: 11.44 kB / 0.5842 GB, free: 33.69 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.8057, allocations: 0 / 0.5842 GB, free: 33.69 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-05/0.8057, allocations: 18.05 kB / 0.5842 GB, free: 33.69 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.8058, allocations: 5.125 kB / 0.5842 GB, free: 33.68 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.8058, allocations: 0 / 0.5842 GB, free: 33.68 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005631/0.8063, allocations: 431 kB / 0.5846 GB, free: 33.46 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002207/0.8066, allocations: 211.1 kB / 0.5848 GB, free: 33.28 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.814e-05/0.8067, allocations: 7.062 kB / 0.5848 GB, free: 33.28 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.8068, allocations: 13.59 kB / 0.5848 GB, free: 33.27 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.8068, allocations: 2.094 kB / 0.5848 GB, free: 33.27 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-05/0.8069, allocations: 62.05 kB / 0.5849 GB, free: 33.26 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.001385/0.8083, allocations: 1.144 MB / 0.586 GB, free: 32.61 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8083, allocations: 0 / 0.586 GB, free: 32.61 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003083/0.8086, allocations: 72 kB / 0.5861 GB, free: 32.54 MB / 462.3 MB 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.0001768/0.8088, allocations: 123.7 kB / 0.5862 GB, free: 32.41 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.8091, allocations: 179.3 kB / 0.5864 GB, free: 32.22 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.8091, allocations: 4 kB / 0.5864 GB, free: 32.22 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.626e-05/0.8092, allocations: 127.4 kB / 0.5865 GB, free: 32.08 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.8096, allocations: 115.5 kB / 0.5866 GB, free: 31.97 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.8118, allocations: 2.139 MB / 0.5887 GB, free: 29.8 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/0.8124, allocations: 1.184 MB / 0.5898 GB, free: 28.59 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006131/0.813, allocations: 293.7 kB / 0.5901 GB, free: 28.29 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.986e-05/0.8131, allocations: 71.44 kB / 0.5902 GB, free: 28.22 MB / 462.3 MB Notification: Performance of SimCode: time 6.11e-07/0.8131, allocations: 4 kB / 0.5902 GB, free: 28.22 MB / 462.3 MB Notification: Performance of Templates: time 0.01238/0.8255, allocations: 5.746 MB / 0.5958 GB, free: 22.39 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches