Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 104.4 kB / 16.92 MB, free: 5.793 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.002258/0.002258, allocations: 191.3 kB / 17.85 MB, free: 5.188 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.53/1.53, allocations: 222.9 MB / 241.5 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.413/1.413, allocations: 119.3 MB / 411 MB, free: 9.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 63.89 kB / 0.4909 GB, free: 13.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7203/0.722, allocations: 80.69 MB / 0.5697 GB, free: 43.57 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.003436/0.7255, allocations: 1.579 MB / 0.5713 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.7269, allocations: 0.8899 MB / 0.5721 GB, free: 41.65 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.234e-05/0.727, allocations: 1.375 kB / 0.5721 GB, free: 41.65 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0008904/0.728, allocations: 0.894 MB / 0.573 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0006911/0.7287, allocations: 0.5274 MB / 0.5735 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.729, allocations: 102.1 kB / 0.5736 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001097/0.7301, allocations: 1.162 MB / 0.5748 GB, free: 40.27 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.104e-05/0.7302, allocations: 8.844 kB / 0.5748 GB, free: 40.26 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005887/0.7308, allocations: 0.5848 MB / 0.5753 GB, free: 39.97 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.7319, allocations: 1.043 MB / 0.5764 GB, free: 39.56 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.7321, allocations: 66.12 kB / 0.5764 GB, free: 39.56 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002603/0.7324, allocations: 90.08 kB / 0.5765 GB, free: 39.55 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002649/0.735, allocations: 2.507 MB / 0.579 GB, free: 38.32 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.7362, allocations: 1.433 MB / 0.5804 GB, free: 37.1 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002921/0.7391, allocations: 3.114 MB / 0.5834 GB, free: 35.13 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.7392, allocations: 0 / 0.5834 GB, free: 35.13 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.944e-06/0.7392, allocations: 0 / 0.5834 GB, free: 35.13 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001183/0.7393, allocations: 0 / 0.5834 GB, free: 35.13 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.008212/0.7475, allocations: 5.178 MB / 0.5885 GB, free: 30.55 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.7476, allocations: 11.89 kB / 0.5885 GB, free: 30.54 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000586/0.7482, allocations: 0.5676 MB / 0.589 GB, free: 29.96 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01276/0.7609, allocations: 6.548 MB / 0.5954 GB, free: 23.33 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.207e-05/0.7611, allocations: 4.375 kB / 0.5954 GB, free: 23.33 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.7611, allocations: 4.125 kB / 0.5954 GB, free: 23.32 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.7615, allocations: 49.67 kB / 0.5955 GB, free: 23.27 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.7615, allocations: 3.938 kB / 0.5955 GB, free: 23.27 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.7615, allocations: 0 / 0.5955 GB, free: 23.27 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.7615, allocations: 0 / 0.5955 GB, free: 23.27 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.7617, allocations: 19.92 kB / 0.5955 GB, free: 23.25 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007067/0.7688, allocations: 1.863 MB / 0.5973 GB, free: 21.34 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.7691, allocations: 54.62 kB / 0.5974 GB, free: 21.27 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.776e-05/0.7692, allocations: 24.78 kB / 0.5974 GB, free: 21.25 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.089e-05/0.7692, allocations: 0 / 0.5974 GB, free: 21.25 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003831/0.7696, allocations: 67.33 kB / 0.5975 GB, free: 21.17 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 4.127e-06/0.7696, allocations: 7.984 kB / 0.5975 GB, free: 21.16 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.001469/0.7711, allocations: 0.6544 MB / 0.5981 GB, free: 20.49 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.7712, allocations: 51.41 kB / 0.5982 GB, free: 20.43 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01259/0.7837, allocations: 6.439 MB / 0.6044 GB, free: 14.04 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.7838, allocations: 25.7 kB / 0.6045 GB, free: 14 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.002929/0.7867, allocations: 2.665 MB / 0.6071 GB, free: 11.34 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.802e-05/0.7868, allocations: 7.906 kB / 0.6071 GB, free: 11.33 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.278e-05/0.7869, allocations: 21.62 kB / 0.6071 GB, free: 11.3 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.519e-05/0.787, allocations: 322 kB / 0.6074 GB, free: 10.98 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.389e-05/0.7871, allocations: 11.98 kB / 0.6074 GB, free: 10.97 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.438e-05/0.7871, allocations: 29.95 kB / 0.6074 GB, free: 10.93 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.7873, allocations: 49.64 kB / 0.6075 GB, free: 10.88 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.7873, allocations: 0 / 0.6075 GB, free: 10.88 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009907/0.7883, allocations: 0.6465 MB / 0.6081 GB, free: 10.22 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.7883, allocations: 8.031 kB / 0.6081 GB, free: 10.21 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.7883, allocations: 4 kB / 0.6081 GB, free: 10.21 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.7883, allocations: 0 / 0.6081 GB, free: 10.21 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.551e-05/0.7884, allocations: 11.98 kB / 0.6081 GB, free: 10.2 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.7885, allocations: 0 / 0.6081 GB, free: 10.2 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008775/0.7893, allocations: 24 kB / 0.6082 GB, free: 10.17 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.7894, allocations: 0 / 0.6082 GB, free: 10.17 MB / 462.3 MB 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.00199/0.7914, allocations: 1.282 MB / 0.6094 GB, free: 8.879 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000745/0.7921, allocations: 0.5863 MB / 0.61 GB, free: 8.285 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.7933, allocations: 0.6559 MB / 0.6106 GB, free: 7.629 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.7933, allocations: 0 / 0.6106 GB, free: 7.629 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.7933, allocations: 0 / 0.6106 GB, free: 7.629 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.7934, allocations: 3.938 kB / 0.6106 GB, free: 7.625 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003131/0.7965, allocations: 2.031 MB / 0.6126 GB, free: 5.547 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.7965, allocations: 3.938 kB / 0.6126 GB, free: 5.543 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.7965, allocations: 11.92 kB / 0.6126 GB, free: 5.531 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.7966, allocations: 0 / 0.6126 GB, free: 5.531 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.7966, allocations: 0 / 0.6126 GB, free: 5.531 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.7966, allocations: 0 / 0.6126 GB, free: 5.531 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.7966, allocations: 0 / 0.6126 GB, free: 5.531 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008654/0.7975, allocations: 0.7252 MB / 0.6133 GB, free: 4.781 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000697/0.7982, allocations: 0.517 MB / 0.6138 GB, free: 4.238 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000431/0.7986, allocations: 16 kB / 0.6139 GB, free: 4.223 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.799, allocations: 19.98 kB / 0.6139 GB, free: 4.203 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.799, allocations: 4 kB / 0.6139 GB, free: 4.199 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.799, allocations: 0 / 0.6139 GB, free: 4.199 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.005377/0.8044, allocations: 4.427 MB / 0.6182 GB, free: 15.81 MB / 478.3 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8044, allocations: 0 / 0.6182 GB, free: 15.81 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0007295/0.8052, allocations: 172 kB / 0.6184 GB, free: 15.64 MB / 478.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: 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.0009974/0.8062, allocations: 410 kB / 0.6188 GB, free: 15.39 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.8064, allocations: 51.91 kB / 0.6188 GB, free: 15.34 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8064, allocations: 0 / 0.6188 GB, free: 15.34 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 6.753e-05/0.8065, allocations: 19.94 kB / 0.6188 GB, free: 15.32 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.8079, allocations: 466.5 kB / 0.6193 GB, free: 14.87 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/0.823, allocations: 8.533 MB / 0.6276 GB, free: 6.301 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004086/0.8272, allocations: 2.741 MB / 0.6303 GB, free: 3.535 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.005609/0.8328, allocations: 1.375 MB / 0.6316 GB, free: 2.152 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001913/0.8348, allocations: 0.5694 MB / 0.6322 GB, free: 1.582 MB / 478.3 MB Notification: Performance of SimCode: time 2.234e-06/0.8348, allocations: 0 / 0.6322 GB, free: 1.582 MB / 478.3 MB Notification: Performance of Templates: time 0.05899/0.8938, allocations: 15.62 MB / 0.6474 GB, free: 1.977 MB / 494.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches