Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/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) 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) Running command: translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_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_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009978/0.0009979, allocations: 190.9 kB / 16.62 MB, free: 5.148 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.3515/0.3515, allocations: 225.7 MB / 243 MB, free: 4.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008829/0.000883, allocations: 102.4 kB / 293.2 MB, free: 11.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo): time 0.3919/0.3919, allocations: 119.4 MB / 462.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000842/0.000842, allocations: 47.92 kB / 0.5413 GB, free: 10.68 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09925/0.1001, allocations: 80.7 MB / 0.6201 GB, free: 9.84 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.001995/0.1021, allocations: 1.609 MB / 0.6217 GB, free: 8.219 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009673/0.1031, allocations: 0.8809 MB / 0.6225 GB, free: 7.332 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.785e-05/0.1032, allocations: 3.938 kB / 0.6225 GB, free: 7.328 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.1034, allocations: 55.86 kB / 0.6226 GB, free: 7.273 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.1036, allocations: 95.72 kB / 0.6227 GB, free: 7.18 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.1038, allocations: 91.83 kB / 0.6228 GB, free: 7.09 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.104, allocations: 131.6 kB / 0.6229 GB, free: 6.961 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 2.818e-05/0.104, allocations: 8 kB / 0.6229 GB, free: 6.953 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.925e-05/0.1041, allocations: 67.7 kB / 0.623 GB, free: 6.887 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.696e-05/0.1042, allocations: 59.81 kB / 0.623 GB, free: 6.828 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.1042, allocations: 8 kB / 0.623 GB, free: 6.82 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.69e-05/0.1043, allocations: 27.98 kB / 0.6231 GB, free: 6.793 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 9.09e-05/0.1044, allocations: 75.73 kB / 0.6231 GB, free: 6.719 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.1044, allocations: 59.5 kB / 0.6232 GB, free: 6.66 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.1046, allocations: 155.6 kB / 0.6233 GB, free: 6.508 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1046, allocations: 4 kB / 0.6234 GB, free: 6.504 MB / 442.8 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1046, allocations: 0 / 0.6234 GB, free: 6.504 MB / 442.8 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.1046, allocations: 0 / 0.6234 GB, free: 6.504 MB / 442.8 MB 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.0004062/0.105, allocations: 486.2 kB / 0.6238 GB, free: 5.98 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.385e-05/0.105, allocations: 12.03 kB / 0.6238 GB, free: 5.969 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.1051, allocations: 20.66 kB / 0.6238 GB, free: 5.949 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.1054, allocations: 331.4 kB / 0.6242 GB, free: 5.582 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.1054, allocations: 4.562 kB / 0.6242 GB, free: 5.578 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.1054, allocations: 7.922 kB / 0.6242 GB, free: 5.57 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.702e-05/0.1055, allocations: 57.61 kB / 0.6242 GB, free: 5.508 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-06/0.1055, allocations: 0 / 0.6242 GB, free: 5.508 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-06/0.1055, allocations: 0 / 0.6242 GB, free: 5.508 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.766e-06/0.1055, allocations: 0 / 0.6242 GB, free: 5.508 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.013e-05/0.1056, allocations: 19.98 kB / 0.6242 GB, free: 5.488 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.1057, allocations: 209.6 kB / 0.6244 GB, free: 5.234 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.1059, allocations: 54.62 kB / 0.6245 GB, free: 5.172 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.217e-05/0.1059, allocations: 28.72 kB / 0.6245 GB, free: 5.141 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.1059, allocations: 0 / 0.6245 GB, free: 5.141 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/0.1061, allocations: 63.39 kB / 0.6246 GB, free: 5.066 MB / 442.8 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1061, allocations: 4 kB / 0.6246 GB, free: 5.062 MB / 442.8 MB Notification: Performance of matching and sorting (n=5): time 0.0002036/0.1063, allocations: 101.5 kB / 0.6247 GB, free: 4.957 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.1063, allocations: 51.41 kB / 0.6247 GB, free: 4.895 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.1065, allocations: 282.6 kB / 0.625 GB, free: 4.609 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.1065, allocations: 25.7 kB / 0.625 GB, free: 4.578 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.1066, allocations: 136.1 kB / 0.6252 GB, free: 4.441 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.1066, allocations: 19.8 kB / 0.6252 GB, free: 4.422 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.1066, allocations: 13.72 kB / 0.6252 GB, free: 4.402 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.52e-05/0.1067, allocations: 342.8 kB / 0.6255 GB, free: 4.059 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.943e-05/0.1068, allocations: 12 kB / 0.6255 GB, free: 4.047 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.197e-05/0.1068, allocations: 29.64 kB / 0.6256 GB, free: 4.012 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.377e-05/0.1069, allocations: 45.7 kB / 0.6256 GB, free: 3.961 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1069, allocations: 0 / 0.6256 GB, free: 3.961 MB / 442.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001251/0.107, allocations: 93.28 kB / 0.6257 GB, free: 3.863 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.107, allocations: 8.031 kB / 0.6257 GB, free: 3.855 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.107, allocations: 4 kB / 0.6257 GB, free: 3.852 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/0.1071, allocations: 0 / 0.6257 GB, free: 3.852 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.483e-05/0.1071, allocations: 11.98 kB / 0.6257 GB, free: 3.84 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.1071, allocations: 0 / 0.6257 GB, free: 3.84 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.1072, allocations: 11.94 kB / 0.6257 GB, free: 3.828 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.1072, allocations: 7.938 kB / 0.6257 GB, free: 3.82 MB / 442.8 MB 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 8.379e-05/0.1073, allocations: 153.1 kB / 0.6259 GB, free: 3.66 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.1073, allocations: 19.72 kB / 0.6259 GB, free: 3.641 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.1073, allocations: 33.3 kB / 0.6259 GB, free: 3.605 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1073, allocations: 0 / 0.6259 GB, free: 3.605 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1073, allocations: 4 kB / 0.6259 GB, free: 3.602 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1073, allocations: 0 / 0.6259 GB, free: 3.602 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.1075, allocations: 221.5 kB / 0.6261 GB, free: 3.336 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1075, allocations: 0 / 0.6261 GB, free: 3.336 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.754e-05/0.1075, allocations: 4 kB / 0.6262 GB, free: 3.332 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1075, allocations: 0 / 0.6262 GB, free: 3.332 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.1075, allocations: 0 / 0.6262 GB, free: 3.332 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1075, allocations: 4 kB / 0.6262 GB, free: 3.328 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.1075, allocations: 4 kB / 0.6262 GB, free: 3.324 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.1077, allocations: 124.7 kB / 0.6263 GB, free: 3.184 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.1077, allocations: 92.91 kB / 0.6264 GB, free: 3.074 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.1078, allocations: 4 kB / 0.6264 GB, free: 3.07 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.31e-05/0.1078, allocations: 0 / 0.6264 GB, free: 3.07 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-05/0.1078, allocations: 11.98 kB / 0.6264 GB, free: 3.059 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.1078, allocations: 0 / 0.6264 GB, free: 3.059 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0001339/0.108, allocations: 209.9 kB / 0.6266 GB, free: 2.852 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.108, allocations: 0 / 0.6266 GB, free: 2.852 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001579/0.1081, allocations: 16 kB / 0.6266 GB, free: 2.836 MB / 442.8 MB 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.0006714/0.1088, allocations: 413.8 kB / 0.627 GB, free: 2.535 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.1089, allocations: 39.92 kB / 0.627 GB, free: 2.496 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.1089, allocations: 0 / 0.627 GB, free: 2.496 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 4.646e-05/0.109, allocations: 19.98 kB / 0.627 GB, free: 2.477 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.1092, allocations: 40.88 kB / 0.6271 GB, free: 2.438 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/0.1096, allocations: 371.8 kB / 0.6274 GB, free: 2.051 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.1098, allocations: 0.732 MB / 0.6282 GB, free: 1.293 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 8.664e-05/0.1099, allocations: 41.5 kB / 0.6282 GB, free: 1.254 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.1099, allocations: 27.44 kB / 0.6282 GB, free: 1.227 MB / 442.8 MB Notification: Performance of SimCode: time 2.6e-07/0.1099, allocations: 0 / 0.6282 GB, free: 1.227 MB / 442.8 MB Notification: Performance of Templates: time 0.003873/0.1138, allocations: 1.774 MB / 0.63 GB, free: 15.49 MB / 458.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches