Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 114.4 kB / 17.68 MB, free: 5.332 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.001216/0.001216, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.326/1.326, allocations: 222.9 MB / 242.3 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 0.9659/0.9659, allocations: 119.3 MB / 411.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 59.91 kB / 0.4923 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5981/0.5994, allocations: 80.68 MB / 0.5711 GB, free: 43.46 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002946/0.6024, allocations: 1.388 MB / 0.5725 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008918/0.6033, allocations: 0.5739 MB / 0.5731 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.767e-05/0.6033, allocations: 0 / 0.5731 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.6035, allocations: 23.84 kB / 0.5731 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.6038, allocations: 59.7 kB / 0.5731 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.604, allocations: 77.48 kB / 0.5732 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.6042, allocations: 89.48 kB / 0.5733 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.6042, allocations: 10.95 kB / 0.5733 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 9.332e-05/0.6043, allocations: 49.61 kB / 0.5734 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.6044, allocations: 47.12 kB / 0.5734 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.6045, allocations: 3.375 kB / 0.5734 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.6046, allocations: 86.25 kB / 0.5735 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.6047, allocations: 56.56 kB / 0.5735 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.849e-05/0.6048, allocations: 54.94 kB / 0.5736 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.605, allocations: 147.9 kB / 0.5737 GB, free: 41.53 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.605, allocations: 0 / 0.5737 GB, free: 41.53 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.094e-06/0.605, allocations: 1.219 kB / 0.5737 GB, free: 41.53 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.605, allocations: 0 / 0.5737 GB, free: 41.53 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004376/0.6055, allocations: 481.2 kB / 0.5742 GB, free: 41.05 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.6055, allocations: 13.23 kB / 0.5742 GB, free: 41.04 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.6056, allocations: 17 kB / 0.5742 GB, free: 41.04 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.606, allocations: 311.6 kB / 0.5745 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.606, allocations: 2.375 kB / 0.5745 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.606, allocations: 2.281 kB / 0.5745 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.6061, allocations: 56.44 kB / 0.5746 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.6061, allocations: 0 / 0.5746 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.6062, allocations: 5.344 kB / 0.5746 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.6062, allocations: 0 / 0.5746 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.644e-05/0.6062, allocations: 24.61 kB / 0.5746 GB, free: 40.69 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.6064, allocations: 212.4 kB / 0.5748 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 5.878e-05/0.6065, allocations: 42.5 kB / 0.5748 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.708e-05/0.6065, allocations: 30.08 kB / 0.5749 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.6065, allocations: 1.469 kB / 0.5749 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/0.6067, allocations: 102.4 kB / 0.575 GB, free: 40.29 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.6067, allocations: 0 / 0.575 GB, free: 40.29 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002921/0.607, allocations: 161.5 kB / 0.5751 GB, free: 40.19 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.607, allocations: 88.12 kB / 0.5752 GB, free: 40.09 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.6072, allocations: 231.3 kB / 0.5754 GB, free: 39.93 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.6072, allocations: 27.14 kB / 0.5755 GB, free: 39.9 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.6072, allocations: 120.8 kB / 0.5756 GB, free: 39.79 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.6073, allocations: 15.81 kB / 0.5756 GB, free: 39.78 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.6073, allocations: 27.11 kB / 0.5756 GB, free: 39.75 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.3e-05/0.6074, allocations: 328.7 kB / 0.5759 GB, free: 39.43 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.753e-05/0.6074, allocations: 17.42 kB / 0.5759 GB, free: 39.42 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.999e-05/0.6075, allocations: 21.53 kB / 0.576 GB, free: 39.41 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.258e-05/0.6076, allocations: 117.8 kB / 0.5761 GB, free: 39.3 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6076, allocations: 0 / 0.5761 GB, free: 39.3 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001605/0.6077, allocations: 149.7 kB / 0.5762 GB, free: 39.2 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.6078, allocations: 40.03 kB / 0.5763 GB, free: 39.17 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.6078, allocations: 0 / 0.5763 GB, free: 39.17 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.6078, allocations: 0 / 0.5763 GB, free: 39.17 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.371e-05/0.6078, allocations: 4.438 kB / 0.5763 GB, free: 39.17 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.6079, allocations: 0 / 0.5763 GB, free: 39.17 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/0.6079, allocations: 7.359 kB / 0.5763 GB, free: 39.16 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.6079, allocations: 6.844 kB / 0.5763 GB, free: 39.16 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 9.733e-05/0.608, allocations: 181 kB / 0.5764 GB, free: 39 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.6081, allocations: 26.25 kB / 0.5765 GB, free: 38.98 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.6081, allocations: 21.91 kB / 0.5765 GB, free: 38.96 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.6081, allocations: 3.984 kB / 0.5765 GB, free: 38.96 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6081, allocations: 1.469 kB / 0.5765 GB, free: 38.96 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.6081, allocations: 3.938 kB / 0.5765 GB, free: 38.95 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.6083, allocations: 214.5 kB / 0.5767 GB, free: 38.72 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6083, allocations: 0 / 0.5767 GB, free: 38.72 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.139e-05/0.6083, allocations: 6.5 kB / 0.5767 GB, free: 38.72 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.6083, allocations: 5.406 kB / 0.5767 GB, free: 38.71 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.6083, allocations: 3 kB / 0.5767 GB, free: 38.71 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.6083, allocations: 1.312 kB / 0.5767 GB, free: 38.71 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6083, allocations: 0 / 0.5767 GB, free: 38.71 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.6086, allocations: 197.1 kB / 0.5769 GB, free: 38.57 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-05/0.6087, allocations: 105.5 kB / 0.577 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.6087, allocations: 2.938 kB / 0.577 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.27e-05/0.6088, allocations: 10.86 kB / 0.577 GB, free: 38.44 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.6088, allocations: 9.188 kB / 0.577 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.6088, allocations: 7.438 kB / 0.577 GB, free: 38.43 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001301/0.609, allocations: 175 kB / 0.5772 GB, free: 38.32 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.51e-07/0.609, allocations: 1 kB / 0.5772 GB, free: 38.32 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002412/0.6092, allocations: 30.28 kB / 0.5772 GB, free: 38.32 MB / 462.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: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001357/0.6094, allocations: 129.8 kB / 0.5774 GB, free: 38.21 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.6095, allocations: 142.1 kB / 0.5775 GB, free: 38.11 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.6096, allocations: 8.844 kB / 0.5775 GB, free: 38.1 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 7.398e-05/0.6096, allocations: 110.5 kB / 0.5776 GB, free: 38 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.6098, allocations: 18.02 kB / 0.5776 GB, free: 37.99 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.6103, allocations: 290.9 kB / 0.5779 GB, free: 37.79 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.6105, allocations: 0.7256 MB / 0.5786 GB, free: 37.07 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 5.789e-05/0.6106, allocations: 25.66 kB / 0.5786 GB, free: 37.05 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.6106, allocations: 14.09 kB / 0.5787 GB, free: 37.05 MB / 462.3 MB Notification: Performance of SimCode: time 3.5e-07/0.6106, allocations: 0 / 0.5787 GB, free: 37.05 MB / 462.3 MB Notification: Performance of Templates: time 0.003871/0.6145, allocations: 1.37 MB / 0.58 GB, free: 36.36 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches