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.001604/0.001604, allocations: 111.6 kB / 17.74 MB, free: 5.359 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.001873/0.001873, allocations: 189.2 kB / 18.67 MB, free: 4.441 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.425/1.425, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.006/1.006, allocations: 119.3 MB / 411.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.23 kB / 0.5716 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1513, allocations: 80.7 MB / 0.6504 GB, free: 13.1 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000): time 0.003221/0.1546, allocations: 1.585 MB / 0.6519 GB, free: 11.5 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.1562, allocations: 0.8885 MB / 0.6528 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1563, allocations: 3.938 kB / 0.6528 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.004472/0.1608, allocations: 6.88 MB / 0.6595 GB, free: 3.711 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.002599/0.1634, allocations: 3.508 MB / 0.6629 GB, free: 200 kB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.1639, allocations: 115.4 kB / 0.663 GB, free: 88 kB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.00694/0.1709, allocations: 8.582 MB / 0.6714 GB, free: 7.492 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 8.305e-05/0.171, allocations: 15.97 kB / 0.6714 GB, free: 7.477 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005996/0.177, allocations: 4.262 MB / 0.6756 GB, free: 3.207 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01154/0.1885, allocations: 8.096 MB / 0.6835 GB, free: 11.1 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.002928/0.1915, allocations: 0.4922 MB / 0.684 GB, free: 10.61 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002263/0.1938, allocations: 0.5195 MB / 0.6845 GB, free: 10.09 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.02267/0.2165, allocations: 19.92 MB / 0.7039 GB, free: 6.109 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.01636/0.2329, allocations: 11.26 MB / 0.7149 GB, free: 10.73 MB / 0.5608 GB Notification: Performance of NFConvertDAE.convert: time 0.03021/0.2632, allocations: 24.74 MB / 0.7391 GB, free: 1.863 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.2632, allocations: 0 / 0.7391 GB, free: 1.863 MB / 0.5764 GB Notification: Performance of FrontEnd: time 6.722e-06/0.2632, allocations: 0 / 0.7391 GB, free: 1.863 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.000982/0.2642, allocations: 7.781 kB / 0.7391 GB, free: 1.859 MB / 0.5764 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.7489/1.013, allocations: 38.77 MB / 0.777 GB, free: 86.32 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/1.013, allocations: 13.7 kB / 0.777 GB, free: 86.32 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006921/1.02, allocations: 4.403 MB / 0.7813 GB, free: 83.82 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1203/1.14, allocations: 51.6 MB / 0.8317 GB, free: 43.97 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/1.141, allocations: 4.375 kB / 0.8317 GB, free: 43.97 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/1.141, allocations: 5.125 kB / 0.8317 GB, free: 43.96 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/1.141, allocations: 45.67 kB / 0.8317 GB, free: 43.91 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/1.141, allocations: 2.672 kB / 0.8317 GB, free: 43.91 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/1.141, allocations: 3.938 kB / 0.8317 GB, free: 43.91 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/1.141, allocations: 0 / 0.8317 GB, free: 43.91 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.068e-05/1.141, allocations: 17.2 kB / 0.8317 GB, free: 43.89 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02022/1.161, allocations: 13.74 MB / 0.8452 GB, free: 30.1 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/1.161, allocations: 50.47 kB / 0.8452 GB, free: 30.04 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.364e-05/1.161, allocations: 20.84 kB / 0.8452 GB, free: 30.02 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/1.161, allocations: 0 / 0.8452 GB, free: 30.02 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/1.162, allocations: 68.55 kB / 0.8453 GB, free: 29.94 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=5): time 1.794e-06/1.162, allocations: 7.297 kB / 0.8453 GB, free: 29.94 MB / 0.6079 GB Notification: Performance of matching and sorting (n=5): time 0.007487/1.169, allocations: 4.608 MB / 0.8498 GB, free: 25.27 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/1.169, allocations: 62.02 kB / 0.8499 GB, free: 25.2 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07661/1.246, allocations: 50.57 MB / 0.8992 GB, free: 7.039 MB / 0.6392 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/1.246, allocations: 25.7 kB / 0.8993 GB, free: 7.008 MB / 0.6392 GB Notification: Performance of collectInitialEqns (initialization): time 0.02735/1.273, allocations: 23.58 MB / 0.9223 GB, free: 15.41 MB / 0.6704 GB Notification: Performance of collectInitialBindings (initialization): time 7.85e-05/1.273, allocations: 7.812 kB / 0.9223 GB, free: 15.41 MB / 0.6704 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.091e-05/1.273, allocations: 28.8 kB / 0.9223 GB, free: 15.38 MB / 0.6704 GB Notification: Performance of setup shared object (initialization): time 9.637e-05/1.274, allocations: 306 kB / 0.9226 GB, free: 15.07 MB / 0.6704 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.651e-05/1.274, allocations: 17.39 kB / 0.9226 GB, free: 15.05 MB / 0.6704 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-05/1.274, allocations: 25.72 kB / 0.9227 GB, free: 15.02 MB / 0.6704 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/1.274, allocations: 51.2 kB / 0.9227 GB, free: 14.97 MB / 0.6704 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.274, allocations: 0 / 0.9227 GB, free: 14.97 MB / 0.6704 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.008555/1.282, allocations: 4.594 MB / 0.9272 GB, free: 10.32 MB / 0.6704 GB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/1.283, allocations: 14.91 kB / 0.9272 GB, free: 10.31 MB / 0.6704 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/1.283, allocations: 0 / 0.9272 GB, free: 10.31 MB / 0.6704 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/1.283, allocations: 0 / 0.9272 GB, free: 10.31 MB / 0.6704 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.639e-05/1.283, allocations: 11.98 kB / 0.9272 GB, free: 10.3 MB / 0.6704 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/1.283, allocations: 4 kB / 0.9272 GB, free: 10.29 MB / 0.6704 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006252/1.289, allocations: 124 kB / 0.9273 GB, free: 10.17 MB / 0.6704 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/1.289, allocations: 7.688 kB / 0.9274 GB, free: 10.17 MB / 0.6704 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.01375/1.303, allocations: 9.4 MB / 0.9365 GB, free: 0.7461 MB / 0.6704 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00893/1.312, allocations: 4.648 MB / 0.9411 GB, free: 12.04 MB / 0.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01134/1.323, allocations: 5.122 MB / 0.9461 GB, free: 6.906 MB / 0.686 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/1.323, allocations: 0.5625 kB / 0.9461 GB, free: 6.906 MB / 0.686 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.323, allocations: 0 / 0.9461 GB, free: 6.906 MB / 0.686 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/1.323, allocations: 4 kB / 0.9461 GB, free: 6.902 MB / 0.686 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03507/1.358, allocations: 15.08 MB / 0.9608 GB, free: 7.766 MB / 0.7017 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/1.358, allocations: 0 / 0.9608 GB, free: 7.766 MB / 0.7017 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.869e-05/1.358, allocations: 4 kB / 0.9608 GB, free: 7.762 MB / 0.7017 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.626e-05/1.358, allocations: 11.34 kB / 0.9608 GB, free: 7.754 MB / 0.7017 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/1.358, allocations: 4 kB / 0.9608 GB, free: 7.75 MB / 0.7017 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/1.358, allocations: 0 / 0.9608 GB, free: 7.75 MB / 0.7017 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.358, allocations: 0 / 0.9608 GB, free: 7.75 MB / 0.7017 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0128/1.371, allocations: 5.035 MB / 0.9657 GB, free: 2.645 MB / 0.7017 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01541/1.387, allocations: 3.505 MB / 0.9692 GB, free: 15.06 MB / 0.7173 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006443/1.393, allocations: 131.9 kB / 0.9693 GB, free: 14.93 MB / 0.7173 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005925/1.399, allocations: 131.9 kB / 0.9694 GB, free: 14.8 MB / 0.7173 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/1.399, allocations: 8 kB / 0.9694 GB, free: 14.8 MB / 0.7173 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/1.399, allocations: 8.5 kB / 0.9694 GB, free: 14.79 MB / 0.7173 GB Notification: Performance of sorting global known variables: time 0.0785/1.478, allocations: 35 MB / 1.004 GB, free: 12.09 MB / 0.7485 GB Notification: Performance of sort global known variables: time 9.62e-07/1.478, allocations: 0 / 1.004 GB, free: 12.09 MB / 0.7485 GB Notification: Performance of remove unused functions: time 0.01002/1.488, allocations: 1.234 MB / 1.005 GB, free: 10.86 MB / 0.7485 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.00123/1.489, allocations: 406.2 kB / 1.005 GB, free: 10.66 MB / 0.7485 GB Notification: Performance of simCode: created initialization part: time 0.0002893/1.49, allocations: 42.98 kB / 1.005 GB, free: 10.62 MB / 0.7485 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.49, allocations: 0.875 kB / 1.005 GB, free: 10.62 MB / 0.7485 GB Notification: Performance of simCode: created simulation system equations: time 6.972e-05/1.49, allocations: 19.94 kB / 1.005 GB, free: 10.6 MB / 0.7485 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02431/1.514, allocations: 3.394 MB / 1.009 GB, free: 7.203 MB / 0.7485 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5496/2.064, allocations: 72.34 MB / 1.079 GB, free: 262.8 MB / 0.811 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03911/2.103, allocations: 17.34 MB / 1.096 GB, free: 258.9 MB / 0.811 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009829/2.113, allocations: 4.418 MB / 1.1 GB, free: 257.7 MB / 0.811 GB Notification: Performance of SimCode: time 1.473e-06/2.113, allocations: 0 / 1.1 GB, free: 257.7 MB / 0.811 GB Notification: Performance of Templates: time 19.63/21.74, allocations: 6.081 GB / 7.181 GB, free: 232.3 MB / 0.8892 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