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.001405/0.001405, allocations: 105.8 kB / 16.92 MB, free: 5.785 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.001543/0.001543, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.608/1.608, allocations: 222.9 MB / 241.6 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.28/1.28, allocations: 119.3 MB / 411 MB, free: 9.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 59.91 kB / 0.4909 GB, free: 13.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6914/0.693, allocations: 80.68 MB / 0.5697 GB, free: 43.59 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.003286/0.6964, allocations: 1.584 MB / 0.5713 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.6978, allocations: 0.8855 MB / 0.5721 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.896e-05/0.6979, allocations: 1.094 kB / 0.5721 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0009244/0.6988, allocations: 0.8939 MB / 0.573 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0006922/0.6995, allocations: 0.5241 MB / 0.5735 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.6999, allocations: 105.9 kB / 0.5736 GB, free: 40.86 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.701, allocations: 1.164 MB / 0.5748 GB, free: 40.28 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.645e-05/0.701, allocations: 5.531 kB / 0.5748 GB, free: 40.28 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006872/0.7017, allocations: 0.5882 MB / 0.5753 GB, free: 39.99 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.7029, allocations: 1.045 MB / 0.5764 GB, free: 39.58 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.703, allocations: 64.81 kB / 0.5764 GB, free: 39.58 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.7033, allocations: 90.12 kB / 0.5765 GB, free: 39.57 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002778/0.7061, allocations: 2.508 MB / 0.579 GB, free: 38.34 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.7073, allocations: 1.428 MB / 0.5804 GB, free: 37.12 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.003186/0.7105, allocations: 3.118 MB / 0.5834 GB, free: 35.15 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/0.7105, allocations: 0 / 0.5834 GB, free: 35.15 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.986e-06/0.7105, allocations: 1.188 kB / 0.5834 GB, free: 35.15 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001301/0.7106, allocations: 0 / 0.5834 GB, free: 35.15 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.007871/0.7185, allocations: 5.18 MB / 0.5885 GB, free: 30.52 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.7186, allocations: 15.89 kB / 0.5885 GB, free: 30.5 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005298/0.7191, allocations: 0.5599 MB / 0.589 GB, free: 29.94 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009349/0.7285, allocations: 6.548 MB / 0.5954 GB, free: 23.31 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.7286, allocations: 384 / 0.5954 GB, free: 23.31 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.7286, allocations: 8.125 kB / 0.5954 GB, free: 23.3 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.7288, allocations: 45.67 kB / 0.5955 GB, free: 23.25 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.7288, allocations: 0 / 0.5955 GB, free: 23.25 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.7288, allocations: 0 / 0.5955 GB, free: 23.25 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.7288, allocations: 0 / 0.5955 GB, free: 23.25 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.675e-05/0.7289, allocations: 23.92 kB / 0.5955 GB, free: 23.23 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.7313, allocations: 1.87 MB / 0.5973 GB, free: 21.31 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.7315, allocations: 50.61 kB / 0.5974 GB, free: 21.25 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.626e-05/0.7315, allocations: 24.78 kB / 0.5974 GB, free: 21.22 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.7316, allocations: 0 / 0.5974 GB, free: 21.22 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002074/0.7318, allocations: 67.39 kB / 0.5975 GB, free: 21.14 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.7318, allocations: 0 / 0.5975 GB, free: 21.14 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0008732/0.7327, allocations: 0.6621 MB / 0.5981 GB, free: 20.47 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.7327, allocations: 51.41 kB / 0.5982 GB, free: 20.41 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006155/0.7389, allocations: 6.439 MB / 0.6044 GB, free: 14.01 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.7389, allocations: 29.7 kB / 0.6045 GB, free: 13.98 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001793/0.7407, allocations: 2.665 MB / 0.6071 GB, free: 11.31 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/0.7408, allocations: 11.91 kB / 0.6071 GB, free: 11.3 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.7409, allocations: 25.62 kB / 0.6071 GB, free: 11.27 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.176e-05/0.7409, allocations: 310 kB / 0.6074 GB, free: 10.96 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.007e-05/0.741, allocations: 12 kB / 0.6074 GB, free: 10.95 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-05/0.741, allocations: 25.7 kB / 0.6074 GB, free: 10.91 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.467e-05/0.7412, allocations: 49.64 kB / 0.6075 GB, free: 10.86 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7412, allocations: 4 kB / 0.6075 GB, free: 10.86 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008156/0.742, allocations: 0.6387 MB / 0.6081 GB, free: 10.2 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.742, allocations: 11.94 kB / 0.6081 GB, free: 10.19 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.742, allocations: 0 / 0.6081 GB, free: 10.19 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.7421, allocations: 3.938 kB / 0.6081 GB, free: 10.19 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.63e-05/0.7422, allocations: 15.98 kB / 0.6081 GB, free: 10.17 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.7422, allocations: 4 kB / 0.6081 GB, free: 10.17 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003971/0.7426, allocations: 16 kB / 0.6082 GB, free: 10.15 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.7426, allocations: 4 kB / 0.6082 GB, free: 10.15 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.001523/0.7441, allocations: 1.283 MB / 0.6094 GB, free: 8.855 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003821/0.7445, allocations: 0.5902 MB / 0.61 GB, free: 8.258 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005253/0.745, allocations: 0.6481 MB / 0.6106 GB, free: 7.609 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.7451, allocations: 0 / 0.6106 GB, free: 7.609 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.7451, allocations: 0 / 0.6106 GB, free: 7.609 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.7451, allocations: 4 kB / 0.6106 GB, free: 7.605 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.7466, allocations: 2.031 MB / 0.6126 GB, free: 5.527 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.7466, allocations: 0 / 0.6126 GB, free: 5.527 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.088e-05/0.7467, allocations: 7.938 kB / 0.6126 GB, free: 5.52 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.7467, allocations: 3.984 kB / 0.6126 GB, free: 5.516 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.7467, allocations: 4.312 kB / 0.6126 GB, free: 5.512 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.7467, allocations: 11.94 kB / 0.6126 GB, free: 5.5 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.7467, allocations: 0 / 0.6126 GB, free: 5.5 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005509/0.7472, allocations: 0.7173 MB / 0.6133 GB, free: 4.758 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004782/0.7477, allocations: 0.5131 MB / 0.6138 GB, free: 4.219 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/0.748, allocations: 16 kB / 0.6139 GB, free: 4.203 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.7483, allocations: 23.98 kB / 0.6139 GB, free: 4.18 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.7483, allocations: 8 kB / 0.6139 GB, free: 4.172 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.7483, allocations: 4 kB / 0.6139 GB, free: 4.168 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.005272/0.7536, allocations: 4.416 MB / 0.6182 GB, free: 15.79 MB / 478.3 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7536, allocations: 0 / 0.6182 GB, free: 15.79 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0008125/0.7545, allocations: 172 kB / 0.6184 GB, free: 15.62 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.001111/0.7556, allocations: 407.9 kB / 0.6188 GB, free: 15.38 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.7558, allocations: 47.91 kB / 0.6188 GB, free: 15.33 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.7559, allocations: 8.062 kB / 0.6188 GB, free: 15.32 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 6.633e-05/0.7559, allocations: 12 kB / 0.6188 GB, free: 15.31 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.7574, allocations: 481.3 kB / 0.6193 GB, free: 14.84 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/0.7737, allocations: 8.537 MB / 0.6276 GB, free: 6.273 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004675/0.7784, allocations: 2.737 MB / 0.6303 GB, free: 3.512 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.005204/0.7837, allocations: 1.379 MB / 0.6316 GB, free: 2.125 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/0.7852, allocations: 0.5655 MB / 0.6322 GB, free: 1.559 MB / 478.3 MB Notification: Performance of SimCode: time 1.262e-06/0.7852, allocations: 0 / 0.6322 GB, free: 1.559 MB / 478.3 MB Notification: Performance of Templates: time 0.05762/0.8428, allocations: 15.62 MB / 0.6474 GB, free: 1.949 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins1/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