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.001236/0.001236, allocations: 108.6 kB / 17.17 MB, free: 6.32 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.001198/0.001198, allocations: 194.9 kB / 18.08 MB, free: 5.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.235/1.235, allocations: 222.9 MB / 241.8 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8805/0.8805, allocations: 119.3 MB / 411.2 MB, free: 9.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 59.91 kB / 0.4909 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4588, allocations: 80.67 MB / 0.5697 GB, free: 43.56 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002339/0.4612, allocations: 1.457 MB / 0.5711 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008646/0.4621, allocations: 0.5927 MB / 0.5717 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/0.4621, allocations: 1.375 kB / 0.5717 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.4623, allocations: 18.45 kB / 0.5717 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.4626, allocations: 56.55 kB / 0.5717 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.4628, allocations: 66.56 kB / 0.5718 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 8.494e-05/0.4629, allocations: 73.94 kB / 0.5719 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.915e-05/0.4629, allocations: 2.594 kB / 0.5719 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 9.856e-05/0.463, allocations: 49.86 kB / 0.5719 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.4631, allocations: 49.42 kB / 0.572 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.4631, allocations: 2.531 kB / 0.572 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.4633, allocations: 71.69 kB / 0.572 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.4634, allocations: 57.59 kB / 0.5721 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.21e-05/0.4634, allocations: 46.17 kB / 0.5721 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.4636, allocations: 103.8 kB / 0.5722 GB, free: 41.63 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4636, allocations: 5.266 kB / 0.5723 GB, free: 41.62 MB / 462.3 MB Notification: Performance of FrontEnd: time 7.02e-07/0.4636, allocations: 0 / 0.5723 GB, free: 41.62 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.4636, allocations: 0 / 0.5723 GB, free: 41.62 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.0004247/0.464, allocations: 487.6 kB / 0.5727 GB, free: 41.14 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.4641, allocations: 7.781 kB / 0.5727 GB, free: 41.14 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.4641, allocations: 17.28 kB / 0.5727 GB, free: 41.13 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.4644, allocations: 311 kB / 0.573 GB, free: 40.85 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.4645, allocations: 1.594 kB / 0.573 GB, free: 40.85 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.4645, allocations: 3.125 kB / 0.573 GB, free: 40.85 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.4646, allocations: 59.97 kB / 0.5731 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.4646, allocations: 0 / 0.5731 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.4646, allocations: 0.9375 kB / 0.5731 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.4646, allocations: 1.531 kB / 0.5731 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.374e-05/0.4647, allocations: 23.06 kB / 0.5731 GB, free: 40.79 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.4648, allocations: 200.8 kB / 0.5733 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 5.757e-05/0.4649, allocations: 47.28 kB / 0.5734 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.565e-05/0.465, allocations: 30.06 kB / 0.5734 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.465, allocations: 4 kB / 0.5734 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.4651, allocations: 102.2 kB / 0.5735 GB, free: 40.39 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.4651, allocations: 4 kB / 0.5735 GB, free: 40.39 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0003403/0.4655, allocations: 171.1 kB / 0.5737 GB, free: 40.28 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.4655, allocations: 78.95 kB / 0.5737 GB, free: 40.19 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.4657, allocations: 228.6 kB / 0.574 GB, free: 40.04 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.4657, allocations: 31.05 kB / 0.574 GB, free: 40 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.4658, allocations: 116.2 kB / 0.5741 GB, free: 39.89 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.4658, allocations: 31.03 kB / 0.5741 GB, free: 39.86 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.4659, allocations: 24.41 kB / 0.5741 GB, free: 39.84 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.039e-05/0.4659, allocations: 331.6 kB / 0.5745 GB, free: 39.52 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.334e-05/0.4659, allocations: 17.31 kB / 0.5745 GB, free: 39.51 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.84e-05/0.466, allocations: 17.92 kB / 0.5745 GB, free: 39.5 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.224e-05/0.4661, allocations: 105.9 kB / 0.5746 GB, free: 39.41 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4661, allocations: 0 / 0.5746 GB, free: 39.41 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001521/0.4662, allocations: 153.6 kB / 0.5747 GB, free: 39.3 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.4663, allocations: 39.33 kB / 0.5748 GB, free: 39.27 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.4663, allocations: 0 / 0.5748 GB, free: 39.27 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.4663, allocations: 5.359 kB / 0.5748 GB, free: 39.26 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.4664, allocations: 11.67 kB / 0.5748 GB, free: 39.25 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4664, allocations: 1.219 kB / 0.5748 GB, free: 39.25 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.695e-05/0.4664, allocations: 3.156 kB / 0.5748 GB, free: 39.25 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.4665, allocations: 10.34 kB / 0.5748 GB, free: 39.25 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.867e-05/0.4666, allocations: 168.6 kB / 0.575 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.4666, allocations: 29.81 kB / 0.575 GB, free: 39.07 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/0.4666, allocations: 25.55 kB / 0.575 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.4666, allocations: 0 / 0.575 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4666, allocations: 96 / 0.575 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.4667, allocations: 9.438 kB / 0.575 GB, free: 39.04 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.4668, allocations: 205.8 kB / 0.5752 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4668, allocations: 1.5 kB / 0.5752 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.4668, allocations: 5.375 kB / 0.5752 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.4668, allocations: 1.438 kB / 0.5752 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.4669, allocations: 2.812 kB / 0.5752 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.4669, allocations: 1.188 kB / 0.5752 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4669, allocations: 0 / 0.5752 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.4671, allocations: 201.8 kB / 0.5754 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.4672, allocations: 104.5 kB / 0.5755 GB, free: 38.55 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.4672, allocations: 7.5 kB / 0.5755 GB, free: 38.54 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.076e-05/0.4673, allocations: 2.406 kB / 0.5755 GB, free: 38.54 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.4673, allocations: 2.25 kB / 0.5755 GB, free: 38.54 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.4673, allocations: 7.375 kB / 0.5756 GB, free: 38.54 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001102/0.4674, allocations: 182.6 kB / 0.5757 GB, free: 38.42 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4674, allocations: 1.438 kB / 0.5757 GB, free: 38.42 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002247/0.4677, allocations: 34.22 kB / 0.5758 GB, free: 38.41 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.0001268/0.4678, allocations: 130.6 kB / 0.5759 GB, free: 38.31 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001711/0.468, allocations: 143.1 kB / 0.576 GB, free: 38.2 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.468, allocations: 0 / 0.576 GB, free: 38.2 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 7.09e-05/0.4681, allocations: 107 kB / 0.5761 GB, free: 38.11 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.4683, allocations: 24.86 kB / 0.5761 GB, free: 38.09 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/0.4688, allocations: 360 kB / 0.5765 GB, free: 37.81 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.4689, allocations: 0.7244 MB / 0.5772 GB, free: 37.09 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.915e-05/0.469, allocations: 14.5 kB / 0.5772 GB, free: 37.08 MB / 462.3 MB Notification: Performance of SimCode: time 2.21e-07/0.469, allocations: 0 / 0.5772 GB, free: 37.08 MB / 462.3 MB Notification: Performance of Templates: time 0.003628/0.4726, allocations: 2.038 MB / 0.5792 GB, free: 36.03 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 -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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches