Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 118.5 kB / 17.11 MB, free: 5.949 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.001052/0.001052, allocations: 193.3 kB / 18.05 MB, free: 5.02 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.4668/0.4668, allocations: 228.3 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.6331/0.6331, allocations: 120.7 MB / 420.8 MB, free: 7.277 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 63.58 kB / 0.588 GB, free: 48.69 MB / 478.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1035, allocations: 84.65 MB / 0.6707 GB, free: 2.84 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002381/0.1059, allocations: 1.559 MB / 0.6722 GB, free: 1.273 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.1071, allocations: 0.8924 MB / 0.6731 GB, free: 384 kB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.306e-05/0.1071, allocations: 4 kB / 0.6731 GB, free: 380 kB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.1074, allocations: 63.72 kB / 0.6731 GB, free: 316 kB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.1077, allocations: 107.6 kB / 0.6732 GB, free: 208 kB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.1079, allocations: 107.6 kB / 0.6733 GB, free: 100 kB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.108, allocations: 123.7 kB / 0.6734 GB, free: 15.97 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.451e-05/0.1081, allocations: 11.98 kB / 0.6735 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.1082, allocations: 63.67 kB / 0.6735 GB, free: 15.9 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1083, allocations: 67.69 kB / 0.6736 GB, free: 15.84 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1083, allocations: 4 kB / 0.6736 GB, free: 15.83 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 6.467e-05/0.1084, allocations: 28 kB / 0.6736 GB, free: 15.8 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.1085, allocations: 71.8 kB / 0.6737 GB, free: 15.73 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 6.375e-05/0.1085, allocations: 63.47 kB / 0.6737 GB, free: 15.67 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.1087, allocations: 151.2 kB / 0.6739 GB, free: 15.52 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1088, allocations: 3.984 kB / 0.6739 GB, free: 15.51 MB / 0.5139 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1088, allocations: 3.938 kB / 0.6739 GB, free: 15.51 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.1088, allocations: 8 kB / 0.6739 GB, free: 15.5 MB / 0.5139 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.0005492/0.1093, allocations: 494 kB / 0.6744 GB, free: 14.97 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 2.691e-05/0.1093, allocations: 12.03 kB / 0.6744 GB, free: 14.96 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.1094, allocations: 28.72 kB / 0.6744 GB, free: 14.93 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.1098, allocations: 335.7 kB / 0.6747 GB, free: 14.56 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-06/0.1098, allocations: 0.5625 kB / 0.6747 GB, free: 14.56 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.1098, allocations: 7.922 kB / 0.6747 GB, free: 14.55 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.1099, allocations: 57.62 kB / 0.6748 GB, free: 14.49 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1099, allocations: 0 / 0.6748 GB, free: 14.49 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.1099, allocations: 0 / 0.6748 GB, free: 14.49 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-06/0.1099, allocations: 0 / 0.6748 GB, free: 14.49 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.632e-05/0.11, allocations: 15.98 kB / 0.6748 GB, free: 14.48 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.1102, allocations: 213.6 kB / 0.675 GB, free: 14.22 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.1103, allocations: 50.62 kB / 0.6751 GB, free: 14.16 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.069e-05/0.1104, allocations: 28.78 kB / 0.6751 GB, free: 14.13 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.1104, allocations: 3.938 kB / 0.6751 GB, free: 14.12 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001165/0.1105, allocations: 63.39 kB / 0.6752 GB, free: 14.05 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1105, allocations: 0 / 0.6752 GB, free: 14.05 MB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.0002401/0.1107, allocations: 101.5 kB / 0.6753 GB, free: 13.95 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.1108, allocations: 59.39 kB / 0.6753 GB, free: 13.88 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.111, allocations: 282.7 kB / 0.6756 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.111, allocations: 29.64 kB / 0.6756 GB, free: 13.55 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 8.608e-05/0.1111, allocations: 136.1 kB / 0.6757 GB, free: 13.41 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.1111, allocations: 11.94 kB / 0.6757 GB, free: 13.4 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.1112, allocations: 17.72 kB / 0.6758 GB, free: 13.38 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1113, allocations: 334.8 kB / 0.6761 GB, free: 13.04 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.244e-05/0.1113, allocations: 12 kB / 0.6761 GB, free: 13.03 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.772e-05/0.1114, allocations: 37.7 kB / 0.6761 GB, free: 12.99 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.449e-05/0.1115, allocations: 45.95 kB / 0.6762 GB, free: 12.94 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1115, allocations: 0 / 0.6762 GB, free: 12.94 MB / 0.5139 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001471/0.1116, allocations: 97.42 kB / 0.6763 GB, free: 12.84 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/0.1116, allocations: 4 kB / 0.6763 GB, free: 12.83 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.1116, allocations: 0 / 0.6763 GB, free: 12.83 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.1117, allocations: 0 / 0.6763 GB, free: 12.83 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/0.1117, allocations: 19.92 kB / 0.6763 GB, free: 12.81 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.1117, allocations: 4.031 kB / 0.6763 GB, free: 12.81 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.1118, allocations: 11.89 kB / 0.6763 GB, free: 12.8 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.1118, allocations: 0 / 0.6763 GB, free: 12.8 MB / 0.5139 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.0001126/0.1119, allocations: 150 kB / 0.6764 GB, free: 12.64 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.1119, allocations: 23.86 kB / 0.6765 GB, free: 12.62 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.112, allocations: 21.3 kB / 0.6765 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.112, allocations: 7.938 kB / 0.6765 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.112, allocations: 0 / 0.6765 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.112, allocations: 0 / 0.6765 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.1121, allocations: 221.5 kB / 0.6767 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1121, allocations: 0 / 0.6767 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-05/0.1121, allocations: 4 kB / 0.6767 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1121, allocations: 0 / 0.6767 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.1121, allocations: 0 / 0.6767 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1121, allocations: 0 / 0.6767 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.1122, allocations: 0 / 0.6767 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.1123, allocations: 129 kB / 0.6768 GB, free: 12.17 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/0.1124, allocations: 109 kB / 0.6769 GB, free: 12.05 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.1124, allocations: 3.984 kB / 0.6769 GB, free: 12.04 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.692e-05/0.1125, allocations: 4 kB / 0.6769 GB, free: 12.04 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.1125, allocations: 3.984 kB / 0.677 GB, free: 12.04 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.1125, allocations: 4 kB / 0.677 GB, free: 12.03 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001782/0.1127, allocations: 205.9 kB / 0.6772 GB, free: 11.83 MB / 0.5139 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1127, allocations: 0 / 0.6772 GB, free: 11.83 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001864/0.1129, allocations: 23.94 kB / 0.6772 GB, free: 11.81 MB / 0.5139 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.001232/0.1141, allocations: 411 kB / 0.6776 GB, free: 11.51 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001391/0.1142, allocations: 51.91 kB / 0.6776 GB, free: 11.46 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1142, allocations: 4 kB / 0.6776 GB, free: 11.46 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 4.826e-05/0.1143, allocations: 12 kB / 0.6776 GB, free: 11.45 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.1145, allocations: 36.8 kB / 0.6777 GB, free: 11.41 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.115, allocations: 315.8 kB / 0.678 GB, free: 11.07 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.1153, allocations: 0.7358 MB / 0.6787 GB, free: 10.3 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 7.753e-05/0.1154, allocations: 37.5 kB / 0.6787 GB, free: 10.27 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.1154, allocations: 31.42 kB / 0.6788 GB, free: 10.23 MB / 0.5139 GB Notification: Performance of SimCode: time 3.81e-07/0.1154, allocations: 4 kB / 0.6788 GB, free: 10.23 MB / 0.5139 GB Notification: Performance of Templates: time 0.005068/0.1205, allocations: 1.825 MB / 0.6805 GB, free: 8.465 MB / 0.5139 GB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches