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.001922/0.001922, allocations: 110.4 kB / 17.06 MB, free: 5.812 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.002032/0.002031, allocations: 200 kB / 18.01 MB, free: 4.941 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.466/1.466, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.131/1.131, allocations: 119.3 MB / 411.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 70.34 kB / 0.5709 GB, free: 39.73 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1511, allocations: 80.69 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000): time 0.003265/0.1544, allocations: 1.581 MB / 0.6513 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001678/0.1561, allocations: 0.8924 MB / 0.6521 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.1563, allocations: 4 kB / 0.6521 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.005231/0.1615, allocations: 6.876 MB / 0.6588 GB, free: 3.691 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.003061/0.1646, allocations: 3.512 MB / 0.6623 GB, free: 176 kB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.165, allocations: 111.4 kB / 0.6624 GB, free: 68 kB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.007762/0.1728, allocations: 8.582 MB / 0.6708 GB, free: 7.473 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 7.345e-05/0.1729, allocations: 27.95 kB / 0.6708 GB, free: 7.445 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006043/0.1789, allocations: 4.258 MB / 0.6749 GB, free: 3.18 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01006/0.189, allocations: 8.096 MB / 0.6829 GB, free: 11.07 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.001505/0.1906, allocations: 0.4922 MB / 0.6833 GB, free: 10.58 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.1917, allocations: 0.5156 MB / 0.6838 GB, free: 10.06 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.02403/0.2157, allocations: 19.91 MB / 0.7033 GB, free: 6.098 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.01863/0.2344, allocations: 11.26 MB / 0.7143 GB, free: 10.72 MB / 0.5608 GB Notification: Performance of NFConvertDAE.convert: time 0.03295/0.2674, allocations: 25 MB / 0.7387 GB, free: 1.555 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/0.2675, allocations: 0 / 0.7387 GB, free: 1.555 MB / 0.5764 GB Notification: Performance of FrontEnd: time 2.454e-06/0.2675, allocations: 3.938 kB / 0.7387 GB, free: 1.551 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.000942/0.2684, allocations: 0 / 0.7387 GB, free: 1.551 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.7229/0.9914, allocations: 40.47 MB / 0.7782 GB, free: 76.66 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.9914, allocations: 12.83 kB / 0.7782 GB, free: 76.66 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/1.002, allocations: 4.653 MB / 0.7828 GB, free: 73.94 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1306/1.132, allocations: 52.33 MB / 0.8339 GB, free: 35.37 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/1.132, allocations: 3.281 kB / 0.8339 GB, free: 35.37 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/1.133, allocations: 3.562 kB / 0.8339 GB, free: 35.37 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/1.133, allocations: 49.67 kB / 0.8339 GB, free: 35.31 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/1.133, allocations: 0 / 0.8339 GB, free: 35.31 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/1.133, allocations: 0 / 0.8339 GB, free: 35.31 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/1.133, allocations: 0 / 0.8339 GB, free: 35.31 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.931e-05/1.133, allocations: 20.73 kB / 0.834 GB, free: 35.3 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02229/1.155, allocations: 13.74 MB / 0.8474 GB, free: 21.5 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/1.155, allocations: 54.36 kB / 0.8474 GB, free: 21.44 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/1.155, allocations: 20.84 kB / 0.8474 GB, free: 21.42 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/1.155, allocations: 3.531 kB / 0.8474 GB, free: 21.42 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/1.156, allocations: 63.39 kB / 0.8475 GB, free: 21.34 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=5): time 1.904e-06/1.156, allocations: 4 kB / 0.8475 GB, free: 21.34 MB / 0.6079 GB Notification: Performance of matching and sorting (n=5): time 0.008687/1.164, allocations: 4.852 MB / 0.8523 GB, free: 16.45 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/1.164, allocations: 55.23 kB / 0.8523 GB, free: 16.39 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09044/1.255, allocations: 50.57 MB / 0.9017 GB, free: 14.23 MB / 0.6548 GB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/1.255, allocations: 26.33 kB / 0.9017 GB, free: 14.2 MB / 0.6548 GB Notification: Performance of collectInitialEqns (initialization): time 0.02936/1.284, allocations: 23.58 MB / 0.9247 GB, free: 6.609 MB / 0.6704 GB Notification: Performance of collectInitialBindings (initialization): time 8.069e-05/1.284, allocations: 13.91 kB / 0.9248 GB, free: 6.598 MB / 0.6704 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.2e-05/1.285, allocations: 17.72 kB / 0.9248 GB, free: 6.574 MB / 0.6704 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.285, allocations: 321.3 kB / 0.9251 GB, free: 6.258 MB / 0.6704 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.505e-05/1.285, allocations: 15.98 kB / 0.9251 GB, free: 6.242 MB / 0.6704 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.141e-05/1.285, allocations: 29.61 kB / 0.9251 GB, free: 6.211 MB / 0.6704 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/1.285, allocations: 41.56 kB / 0.9252 GB, free: 6.168 MB / 0.6704 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/1.285, allocations: 8.75 kB / 0.9252 GB, free: 6.164 MB / 0.6704 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.009745/1.295, allocations: 4.838 MB / 0.9299 GB, free: 1.285 MB / 0.6704 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/1.295, allocations: 4 kB / 0.9299 GB, free: 1.281 MB / 0.6704 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/1.295, allocations: 4 kB / 0.9299 GB, free: 1.277 MB / 0.6704 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/1.295, allocations: 0 / 0.9299 GB, free: 1.277 MB / 0.6704 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.964e-05/1.295, allocations: 10.34 kB / 0.9299 GB, free: 1.27 MB / 0.6704 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/1.295, allocations: 3.375 kB / 0.9299 GB, free: 1.27 MB / 0.6704 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008282/1.303, allocations: 139.9 kB / 0.93 GB, free: 1.133 MB / 0.6704 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/1.303, allocations: 4 kB / 0.9301 GB, free: 1.129 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.01705/1.32, allocations: 9.396 MB / 0.9392 GB, free: 7.715 MB / 0.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01102/1.331, allocations: 4.895 MB / 0.944 GB, free: 2.789 MB / 0.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01449/1.346, allocations: 5.122 MB / 0.949 GB, free: 13.66 MB / 0.7017 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/1.346, allocations: 1.828 kB / 0.949 GB, free: 13.66 MB / 0.7017 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/1.346, allocations: 3 kB / 0.949 GB, free: 13.66 MB / 0.7017 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/1.346, allocations: 0 / 0.949 GB, free: 13.66 MB / 0.7017 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03659/1.383, allocations: 15.08 MB / 0.9637 GB, free: 14.52 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/1.383, allocations: 0.875 kB / 0.9637 GB, free: 14.52 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-05/1.383, allocations: 5.406 kB / 0.9637 GB, free: 14.51 MB / 0.7173 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/1.383, allocations: 0 / 0.9637 GB, free: 14.51 MB / 0.7173 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/1.383, allocations: 0 / 0.9637 GB, free: 14.51 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/1.383, allocations: 4 kB / 0.9638 GB, free: 14.51 MB / 0.7173 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.383, allocations: 4.938 kB / 0.9638 GB, free: 14.51 MB / 0.7173 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01296/1.396, allocations: 5.281 MB / 0.9689 GB, free: 9.18 MB / 0.7173 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01305/1.409, allocations: 3.748 MB / 0.9726 GB, free: 5.383 MB / 0.7173 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006486/1.415, allocations: 131.1 kB / 0.9727 GB, free: 5.258 MB / 0.7173 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009778/1.425, allocations: 124 kB / 0.9728 GB, free: 5.137 MB / 0.7173 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/1.425, allocations: 11 kB / 0.9728 GB, free: 5.129 MB / 0.7173 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.372e-05/1.425, allocations: 5.766 kB / 0.9728 GB, free: 5.125 MB / 0.7173 GB Notification: Performance of sorting global known variables: time 0.117/1.542, allocations: 35 MB / 1.007 GB, free: 2.426 MB / 0.7485 GB Notification: Performance of sort global known variables: time 1.703e-06/1.543, allocations: 0 / 1.007 GB, free: 2.426 MB / 0.7485 GB Notification: Performance of remove unused functions: time 0.00796/1.551, allocations: 1.24 MB / 1.008 GB, free: 1.188 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.001523/1.552, allocations: 399.4 kB / 1.009 GB, free: 0.9922 MB / 0.7485 GB Notification: Performance of simCode: created initialization part: time 0.0002516/1.552, allocations: 44.55 kB / 1.009 GB, free: 0.9492 MB / 0.7485 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.552, allocations: 0 / 1.009 GB, free: 0.9492 MB / 0.7485 GB Notification: Performance of simCode: created simulation system equations: time 6.44e-05/1.552, allocations: 21.08 kB / 1.009 GB, free: 0.9297 MB / 0.7485 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02373/1.576, allocations: 3.404 MB / 1.012 GB, free: 13.52 MB / 0.7642 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1231/1.699, allocations: 71.83 MB / 1.082 GB, free: 6.027 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.418/2.117, allocations: 17.34 MB / 1.099 GB, free: 271.5 MB / 0.8267 GB Notification: Performance of simCode: alias equations: time 0.03168/2.149, allocations: 11.3 MB / 1.11 GB, free: 266.2 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009144/2.158, allocations: 4.413 MB / 1.114 GB, free: 265 MB / 0.8267 GB Notification: Performance of SimCode: time 1.382e-06/2.158, allocations: 0 / 1.114 GB, free: 265 MB / 0.8267 GB Notification: Performance of Templates: time 0.3447/2.503, allocations: 123.3 MB / 1.235 GB, free: 164.1 MB / 0.8267 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