Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.0009595/0.0009596, allocations: 92.73 kB / 17.31 MB, free: 6.535 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.0009869/0.0009869, allocations: 176 kB / 18.21 MB, free: 5.684 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.413/1.413, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.073/1.073, allocations: 120.5 MB / 413.8 MB, free: 9.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.0003479, allocations: 12 kB / 0.4955 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6121/0.6124, allocations: 82.84 MB / 0.5764 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.001965/0.6144, allocations: 1.291 MB / 0.5777 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.6159, allocations: 0.8568 MB / 0.5785 GB, free: 40.25 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.616, allocations: 3.938 kB / 0.5785 GB, free: 40.25 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0008728/0.6169, allocations: 0.8937 MB / 0.5794 GB, free: 39.8 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0006652/0.6176, allocations: 0.5141 MB / 0.5799 GB, free: 39.52 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.6179, allocations: 103 kB / 0.58 GB, free: 39.46 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001345/0.6193, allocations: 1.152 MB / 0.5811 GB, free: 38.89 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.285e-05/0.6194, allocations: 12.56 kB / 0.5811 GB, free: 38.89 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.6206, allocations: 0.5715 MB / 0.5817 GB, free: 38.61 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.6224, allocations: 0.9845 MB / 0.5827 GB, free: 38.2 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0004497/0.6229, allocations: 63.44 kB / 0.5827 GB, free: 38.2 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003943/0.6233, allocations: 92.27 kB / 0.5828 GB, free: 38.19 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.00274/0.626, allocations: 2.504 MB / 0.5853 GB, free: 36.97 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001901/0.6279, allocations: 1.458 MB / 0.5867 GB, free: 35.71 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.00213/0.6301, allocations: 2.317 MB / 0.5889 GB, free: 33.44 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.6301, allocations: 0 / 0.5889 GB, free: 33.44 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.875e-06/0.6301, allocations: 0 / 0.5889 GB, free: 33.44 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.925e-05/0.6302, allocations: 0 / 0.5889 GB, free: 33.44 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.004288/0.6345, allocations: 4.585 MB / 0.5934 GB, free: 28.77 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.6345, allocations: 11.97 kB / 0.5934 GB, free: 28.76 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004932/0.635, allocations: 0.5599 MB / 0.594 GB, free: 28.2 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00905/0.6441, allocations: 6.551 MB / 0.6004 GB, free: 21.56 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/0.6442, allocations: 384 / 0.6004 GB, free: 21.56 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.6442, allocations: 8.125 kB / 0.6004 GB, free: 21.55 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.6444, allocations: 49.61 kB / 0.6004 GB, free: 21.5 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.6444, allocations: 0 / 0.6004 GB, free: 21.5 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.6444, allocations: 4 kB / 0.6004 GB, free: 21.5 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.6444, allocations: 4 kB / 0.6004 GB, free: 21.49 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.588e-05/0.6445, allocations: 19.97 kB / 0.6005 GB, free: 21.47 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/0.6467, allocations: 1.859 MB / 0.6023 GB, free: 19.57 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.6469, allocations: 50.56 kB / 0.6023 GB, free: 19.51 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.773e-05/0.6469, allocations: 24.78 kB / 0.6023 GB, free: 19.48 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.647, allocations: 0 / 0.6023 GB, free: 19.48 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.6472, allocations: 71.39 kB / 0.6024 GB, free: 19.4 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.6472, allocations: 0 / 0.6024 GB, free: 19.4 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0006506/0.6478, allocations: 0.6543 MB / 0.6031 GB, free: 18.73 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.6479, allocations: 55.41 kB / 0.6031 GB, free: 18.66 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005374/0.6532, allocations: 6.439 MB / 0.6094 GB, free: 12.27 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.6533, allocations: 25.7 kB / 0.6094 GB, free: 12.24 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001622/0.6549, allocations: 2.665 MB / 0.612 GB, free: 9.57 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.655, allocations: 15.81 kB / 0.612 GB, free: 9.555 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.655, allocations: 13.72 kB / 0.612 GB, free: 9.535 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.266e-05/0.6551, allocations: 314 kB / 0.6123 GB, free: 9.223 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.038e-05/0.6551, allocations: 12 kB / 0.6124 GB, free: 9.211 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.875e-05/0.6552, allocations: 25.7 kB / 0.6124 GB, free: 9.18 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.651e-05/0.6553, allocations: 49.89 kB / 0.6124 GB, free: 9.125 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6553, allocations: 4 kB / 0.6124 GB, free: 9.121 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005558/0.6558, allocations: 0.6465 MB / 0.6131 GB, free: 8.461 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.6559, allocations: 4 kB / 0.6131 GB, free: 8.457 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.6559, allocations: 0 / 0.6131 GB, free: 8.457 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.6559, allocations: 3.938 kB / 0.6131 GB, free: 8.453 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.083e-05/0.656, allocations: 15.98 kB / 0.6131 GB, free: 8.438 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.656, allocations: 0 / 0.6131 GB, free: 8.438 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003773/0.6564, allocations: 20 kB / 0.6131 GB, free: 8.418 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.6564, allocations: 7.938 kB / 0.6131 GB, free: 8.41 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.001121/0.6575, allocations: 1.288 MB / 0.6144 GB, free: 7.113 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003535/0.6579, allocations: 0.5863 MB / 0.6149 GB, free: 6.52 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004843/0.6584, allocations: 0.652 MB / 0.6156 GB, free: 5.867 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.6584, allocations: 0 / 0.6156 GB, free: 5.867 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.6584, allocations: 0 / 0.6156 GB, free: 5.867 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.6584, allocations: 0 / 0.6156 GB, free: 5.867 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.6598, allocations: 2.031 MB / 0.6176 GB, free: 3.789 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6598, allocations: 0 / 0.6176 GB, free: 3.789 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.388e-05/0.6598, allocations: 3.984 kB / 0.6176 GB, free: 3.785 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.6598, allocations: 4 kB / 0.6176 GB, free: 3.781 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.6599, allocations: 4 kB / 0.6176 GB, free: 3.777 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.6599, allocations: 3.938 kB / 0.6176 GB, free: 3.773 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6599, allocations: 3.938 kB / 0.6176 GB, free: 3.77 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/0.6604, allocations: 0.7173 MB / 0.6183 GB, free: 3.027 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004816/0.6609, allocations: 0.5677 MB / 0.6188 GB, free: 2.434 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/0.6611, allocations: 20 kB / 0.6189 GB, free: 2.414 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003132/0.6614, allocations: 20 kB / 0.6189 GB, free: 2.395 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.6614, allocations: 8.125 kB / 0.6189 GB, free: 2.387 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.6615, allocations: 7.984 kB / 0.6189 GB, free: 2.379 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.004741/0.6662, allocations: 4.412 MB / 0.6232 GB, free: 14.01 MB / 478.3 MB Notification: Performance of sort global known variables: time 6.02e-07/0.6662, allocations: 0 / 0.6232 GB, free: 14.01 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0005823/0.6668, allocations: 172 kB / 0.6234 GB, free: 13.84 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.00102/0.6679, allocations: 409.6 kB / 0.6238 GB, free: 13.59 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.668, allocations: 43.92 kB / 0.6238 GB, free: 13.55 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6681, allocations: 4.062 kB / 0.6238 GB, free: 13.54 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 5.811e-05/0.6681, allocations: 16 kB / 0.6238 GB, free: 13.53 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.6694, allocations: 470.1 kB / 0.6243 GB, free: 13.07 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/0.6818, allocations: 9.768 MB / 0.6338 GB, free: 3.258 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002532/0.6844, allocations: 2.741 MB / 0.6365 GB, free: 500 kB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/0.6856, allocations: 0.5577 MB / 0.637 GB, free: 15.92 MB / 494.3 MB Notification: Performance of SimCode: time 8.02e-07/0.6856, allocations: 0 / 0.637 GB, free: 15.92 MB / 494.3 MB Notification: Performance of Templates: time 0.7889/1.474, allocations: 136.8 MB / 0.7706 GB, free: 155.9 MB / 0.5923 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches