Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_OB_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_OB_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_OB_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.001752/0.001752, allocations: 115.1 kB / 17.11 MB, free: 5.879 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.00165/0.00165, allocations: 193.3 kB / 18.06 MB, free: 4.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.4917/0.4917, allocations: 228.4 MB / 247.2 MB, free: 3.953 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.625/0.625, allocations: 120.7 MB / 420.8 MB, free: 7.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 67.14 kB / 0.588 GB, free: 48.61 MB / 478.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1044, allocations: 84.65 MB / 0.6707 GB, free: 2.836 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000): time 0.002357/0.1068, allocations: 1.594 MB / 0.6722 GB, free: 1.234 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.108, allocations: 0.8924 MB / 0.6731 GB, free: 344 kB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/0.1081, allocations: 0 / 0.6731 GB, free: 344 kB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.004491/0.1126, allocations: 6.88 MB / 0.6798 GB, free: 9.441 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.002401/0.115, allocations: 3.512 MB / 0.6833 GB, free: 5.922 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.1152, allocations: 103.7 kB / 0.6834 GB, free: 5.82 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.006308/0.1215, allocations: 8.594 MB / 0.6918 GB, free: 13.21 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.1216, allocations: 15.97 kB / 0.6918 GB, free: 13.2 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00343/0.125, allocations: 4.262 MB / 0.6959 GB, free: 8.93 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007109/0.1321, allocations: 9.074 MB / 0.7048 GB, free: 15.84 MB / 0.5452 GB Notification: Performance of NFPackage.collectConstants: time 0.0008381/0.1329, allocations: 0.4922 MB / 0.7053 GB, free: 15.34 MB / 0.5452 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008224/0.1338, allocations: 0.5195 MB / 0.7058 GB, free: 14.82 MB / 0.5452 GB Notification: Performance of NFScalarize.scalarize: time 0.01999/0.1537, allocations: 20.46 MB / 0.7258 GB, free: 10.31 MB / 0.5608 GB Notification: Performance of NFVerifyModel.verify: time 0.009372/0.1631, allocations: 11.26 MB / 0.7368 GB, free: 14.93 MB / 0.5764 GB Notification: Performance of NFConvertDAE.convert: time 0.02014/0.1832, allocations: 24.99 MB / 0.7612 GB, free: 5.773 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1833, allocations: 0 / 0.7612 GB, free: 5.773 MB / 0.592 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1833, allocations: 0 / 0.7612 GB, free: 5.773 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.0003521/0.1836, allocations: 4 kB / 0.7612 GB, free: 5.77 MB / 0.592 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.5211/0.7047, allocations: 40.48 MB / 0.8007 GB, free: 90.37 MB / 0.6235 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.7047, allocations: 9.125 kB / 0.8007 GB, free: 90.37 MB / 0.6235 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003758/0.7085, allocations: 4.649 MB / 0.8052 GB, free: 88.26 MB / 0.6235 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06071/0.7692, allocations: 52.33 MB / 0.8564 GB, free: 48.18 MB / 0.6235 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.7692, allocations: 5.5 kB / 0.8564 GB, free: 48.18 MB / 0.6235 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.7692, allocations: 0 / 0.8564 GB, free: 48.18 MB / 0.6235 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.7693, allocations: 57.86 kB / 0.8564 GB, free: 48.12 MB / 0.6235 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.7694, allocations: 0 / 0.8564 GB, free: 48.12 MB / 0.6235 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.7694, allocations: 4.906 kB / 0.8564 GB, free: 48.12 MB / 0.6235 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.7694, allocations: 0 / 0.8564 GB, free: 48.12 MB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.454e-05/0.7694, allocations: 12.75 kB / 0.8564 GB, free: 48.11 MB / 0.6235 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01027/0.7797, allocations: 13.74 MB / 0.8698 GB, free: 34.31 MB / 0.6235 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.7798, allocations: 50.45 kB / 0.8699 GB, free: 34.25 MB / 0.6235 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.7799, allocations: 16.86 kB / 0.8699 GB, free: 34.23 MB / 0.6235 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.7799, allocations: 0.7031 kB / 0.8699 GB, free: 34.23 MB / 0.6235 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000127/0.78, allocations: 71.38 kB / 0.87 GB, free: 34.15 MB / 0.6235 GB Notification: Performance of pre-optimization done (n=5): time 1.763e-06/0.78, allocations: 0.9062 kB / 0.87 GB, free: 34.15 MB / 0.6235 GB Notification: Performance of matching and sorting (n=5): time 0.004108/0.7841, allocations: 4.856 MB / 0.8747 GB, free: 29.26 MB / 0.6235 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.7842, allocations: 58.94 kB / 0.8748 GB, free: 29.2 MB / 0.6235 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.047/0.8312, allocations: 50.57 MB / 0.9242 GB, free: 11.04 MB / 0.6548 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.8312, allocations: 25.7 kB / 0.9242 GB, free: 11.01 MB / 0.6548 GB Notification: Performance of collectInitialEqns (initialization): time 0.02237/0.8535, allocations: 23.58 MB / 0.9472 GB, free: 3.414 MB / 0.6704 GB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.8536, allocations: 11.89 kB / 0.9472 GB, free: 3.402 MB / 0.6704 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.411e-05/0.8537, allocations: 21.72 kB / 0.9472 GB, free: 3.375 MB / 0.6704 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.8538, allocations: 313.8 kB / 0.9475 GB, free: 3.066 MB / 0.6704 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.348e-05/0.8539, allocations: 15.98 kB / 0.9476 GB, free: 3.051 MB / 0.6704 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.678e-05/0.8539, allocations: 27.77 kB / 0.9476 GB, free: 3.02 MB / 0.6704 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.303e-05/0.854, allocations: 41.72 kB / 0.9476 GB, free: 2.973 MB / 0.6704 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.854, allocations: 0 / 0.9476 GB, free: 2.973 MB / 0.6704 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.006/0.86, allocations: 4.843 MB / 0.9524 GB, free: 14.09 MB / 0.686 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.86, allocations: 14.75 kB / 0.9524 GB, free: 14.09 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.86, allocations: 0 / 0.9524 GB, free: 14.09 MB / 0.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.86, allocations: 0 / 0.9524 GB, free: 14.09 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.8601, allocations: 8 kB / 0.9524 GB, free: 14.08 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.8601, allocations: 1.781 kB / 0.9524 GB, free: 14.08 MB / 0.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003938/0.8641, allocations: 130.2 kB / 0.9525 GB, free: 13.95 MB / 0.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.8641, allocations: 11.98 kB / 0.9525 GB, free: 13.94 MB / 0.686 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.01078/0.8748, allocations: 9.402 MB / 0.9617 GB, free: 4.531 MB / 0.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005704/0.8806, allocations: 4.894 MB / 0.9665 GB, free: 15.61 MB / 0.7017 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006458/0.887, allocations: 5.115 MB / 0.9715 GB, free: 10.48 MB / 0.7017 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.887, allocations: 0 / 0.9715 GB, free: 10.48 MB / 0.7017 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.887, allocations: 0 / 0.9715 GB, free: 10.48 MB / 0.7017 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.887, allocations: 7.984 kB / 0.9715 GB, free: 10.48 MB / 0.7017 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/0.902, allocations: 15.08 MB / 0.9862 GB, free: 11.34 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.902, allocations: 3 kB / 0.9862 GB, free: 11.34 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/0.902, allocations: 7.938 kB / 0.9862 GB, free: 11.33 MB / 0.7173 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.902, allocations: 0 / 0.9862 GB, free: 11.33 MB / 0.7173 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.902, allocations: 4 kB / 0.9862 GB, free: 11.32 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.902, allocations: 0 / 0.9862 GB, free: 11.32 MB / 0.7173 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.902, allocations: 0 / 0.9862 GB, free: 11.32 MB / 0.7173 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005992/0.908, allocations: 5.279 MB / 0.9914 GB, free: 6 MB / 0.7173 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00473/0.9128, allocations: 3.754 MB / 0.995 GB, free: 2.195 MB / 0.7173 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001669/0.9144, allocations: 132 kB / 0.9952 GB, free: 2.066 MB / 0.7173 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/0.9166, allocations: 124 kB / 0.9953 GB, free: 1.945 MB / 0.7173 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.9166, allocations: 7 kB / 0.9953 GB, free: 1.941 MB / 0.7173 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.9166, allocations: 4 kB / 0.9953 GB, free: 1.938 MB / 0.7173 GB Notification: Performance of sorting global known variables: time 0.04604/0.9627, allocations: 35.01 MB / 1.029 GB, free: 15.23 MB / 0.7642 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9627, allocations: 0 / 1.029 GB, free: 15.23 MB / 0.7642 GB Notification: Performance of remove unused functions: time 0.003701/0.9664, allocations: 1.234 MB / 1.031 GB, free: 14 MB / 0.7642 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.001331/0.9677, allocations: 419 kB / 1.031 GB, free: 13.74 MB / 0.7642 GB Notification: Performance of simCode: created initialization part: time 0.0001804/0.9679, allocations: 34.58 kB / 1.031 GB, free: 13.71 MB / 0.7642 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.9679, allocations: 3.547 kB / 1.031 GB, free: 13.71 MB / 0.7642 GB Notification: Performance of simCode: created simulation system equations: time 5.776e-05/0.968, allocations: 23.92 kB / 1.031 GB, free: 13.69 MB / 0.7642 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0114/0.9794, allocations: 3.397 MB / 1.034 GB, free: 10.29 MB / 0.7642 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08481/1.064, allocations: 71.83 MB / 1.105 GB, free: 2.781 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01784/1.082, allocations: 17.34 MB / 1.122 GB, free: 1.387 MB / 0.8423 GB Notification: Performance of simCode: alias equations: time 0.278/1.36, allocations: 11.3 MB / 1.133 GB, free: 273.8 MB / 0.8423 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005668/1.366, allocations: 4.408 MB / 1.137 GB, free: 273.1 MB / 0.8423 GB Notification: Performance of SimCode: time 9.81e-07/1.366, allocations: 4 kB / 1.137 GB, free: 273 MB / 0.8423 GB Notification: Performance of Templates: time 0.1429/1.509, allocations: 125.3 MB / 1.259 GB, free: 183.7 MB / 0.8423 GB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches