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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 84.73 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00199/0.00199, allocations: 164.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.535/1.535, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.118/1.118, allocations: 88.07 MB / 348.7 MB, free: 1.789 MB / 318.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5235 GB, free: 8.352 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.471e-05/3.635e-05, allocations: 3.266 kB / 0.5235 GB, free: 8.348 MB / 446.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002642/0.002679, allocations: 1.567 MB / 0.525 GB, free: 7.117 MB / 446.2 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.004455, allocations: 0.9821 MB / 0.5259 GB, free: 6.383 MB / 446.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.754e-05/0.004532, allocations: 1.812 kB / 0.5259 GB, free: 6.383 MB / 446.2 MB Notification: Performance of NFTyping.typeComponents: time 0.0003746/0.004907, allocations: 64.91 kB / 0.526 GB, free: 6.34 MB / 446.2 MB Notification: Performance of NFTyping.typeBindings: time 0.0005142/0.005421, allocations: 166.9 kB / 0.5262 GB, free: 6.227 MB / 446.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.005582, allocations: 74.08 kB / 0.5262 GB, free: 6.172 MB / 446.2 MB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.005803, allocations: 137.6 kB / 0.5264 GB, free: 6.094 MB / 446.2 MB Notification: Performance of NFFlatten.resolveConnections: time 4.819e-05/0.005851, allocations: 3.719 kB / 0.5264 GB, free: 6.094 MB / 446.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.006098, allocations: 88.91 kB / 0.5265 GB, free: 6.039 MB / 446.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.00624, allocations: 60.41 kB / 0.5265 GB, free: 6.008 MB / 446.2 MB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.006269, allocations: 5.562 kB / 0.5265 GB, free: 6.008 MB / 446.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.006371, allocations: 34.05 kB / 0.5266 GB, free: 5.996 MB / 446.2 MB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.006546, allocations: 85.86 kB / 0.5266 GB, free: 5.945 MB / 446.2 MB Notification: Performance of NFVerifyModel.verify: time 6.179e-05/0.006608, allocations: 22.94 kB / 0.5267 GB, free: 5.934 MB / 446.2 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.006871, allocations: 159 kB / 0.5268 GB, free: 5.84 MB / 446.2 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.006873, allocations: 0 / 0.5268 GB, free: 5.84 MB / 446.2 MB Notification: Performance of FrontEnd: time 1.182e-06/0.006874, allocations: 0 / 0.5268 GB, free: 5.84 MB / 446.2 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.006879, allocations: 0.9375 kB / 0.5268 GB, free: 5.84 MB / 446.2 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.0006047/0.007483, allocations: 427.5 kB / 0.5272 GB, free: 5.441 MB / 446.2 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.007525, allocations: 14.11 kB / 0.5272 GB, free: 5.438 MB / 446.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.473e-05/0.007589, allocations: 25.98 kB / 0.5273 GB, free: 5.422 MB / 446.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.007992, allocations: 270.4 kB / 0.5275 GB, free: 5.195 MB / 446.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.008006, allocations: 2.219 kB / 0.5275 GB, free: 5.195 MB / 446.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.008018, allocations: 2.219 kB / 0.5275 GB, free: 5.195 MB / 446.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.008159, allocations: 56.33 kB / 0.5276 GB, free: 5.145 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.008171, allocations: 7.922 kB / 0.5276 GB, free: 5.137 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.008182, allocations: 0.9062 kB / 0.5276 GB, free: 5.137 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.008187, allocations: 3.984 kB / 0.5276 GB, free: 5.133 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.974e-05/0.008267, allocations: 17.22 kB / 0.5276 GB, free: 5.125 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.008445, allocations: 153 kB / 0.5277 GB, free: 4.973 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.008608, allocations: 55.77 kB / 0.5278 GB, free: 4.93 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.74e-05/0.008665, allocations: 20.22 kB / 0.5278 GB, free: 4.914 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.008682, allocations: 4.844 kB / 0.5278 GB, free: 4.91 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.008826, allocations: 65.23 kB / 0.5279 GB, free: 4.848 MB / 446.2 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.008828, allocations: 0.9062 kB / 0.5279 GB, free: 4.848 MB / 446.2 MB Notification: Performance of matching and sorting (n=5): time 0.000308/0.009136, allocations: 118.6 kB / 0.528 GB, free: 4.77 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.00917, allocations: 52.31 kB / 0.528 GB, free: 4.707 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.00944, allocations: 292.2 kB / 0.5283 GB, free: 4.527 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.009451, allocations: 29.64 kB / 0.5284 GB, free: 4.492 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 6.615e-05/0.009517, allocations: 139.9 kB / 0.5285 GB, free: 4.363 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.009549, allocations: 18.39 kB / 0.5285 GB, free: 4.348 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.009583, allocations: 22.67 kB / 0.5285 GB, free: 4.324 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 6.041e-05/0.009643, allocations: 330.1 kB / 0.5288 GB, free: 4 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.27e-05/0.009696, allocations: 16.89 kB / 0.5289 GB, free: 3.992 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.359e-05/0.009749, allocations: 32.45 kB / 0.5289 GB, free: 3.965 MB / 446.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.748e-05/0.009847, allocations: 49.14 kB / 0.5289 GB, free: 3.93 MB / 446.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.009849, allocations: 256 / 0.5289 GB, free: 3.93 MB / 446.2 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001595/0.01001, allocations: 97.73 kB / 0.529 GB, free: 3.863 MB / 446.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.01002, allocations: 5.438 kB / 0.529 GB, free: 3.863 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01003, allocations: 3.938 kB / 0.529 GB, free: 3.859 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.01004, allocations: 1.406 kB / 0.529 GB, free: 3.859 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.142e-05/0.01013, allocations: 12.7 kB / 0.5291 GB, free: 3.855 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.01013, allocations: 1.531 kB / 0.5291 GB, free: 3.855 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.123e-05/0.01018, allocations: 6.406 kB / 0.5291 GB, free: 3.852 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.01019, allocations: 6.219 kB / 0.5291 GB, free: 3.848 MB / 446.2 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 9.374e-05/0.01028, allocations: 146.8 kB / 0.5292 GB, free: 3.715 MB / 446.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.01031, allocations: 21.95 kB / 0.5292 GB, free: 3.703 MB / 446.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.01053, allocations: 108.8 kB / 0.5293 GB, free: 3.633 MB / 446.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.01053, allocations: 1.25 kB / 0.5293 GB, free: 3.633 MB / 446.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.01054, allocations: 1.281 kB / 0.5293 GB, free: 3.633 MB / 446.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01054, allocations: 0 / 0.5293 GB, free: 3.633 MB / 446.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.01065, allocations: 162.1 kB / 0.5295 GB, free: 3.477 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.01066, allocations: 3.938 kB / 0.5295 GB, free: 3.473 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.752e-05/0.01068, allocations: 5.062 kB / 0.5295 GB, free: 3.473 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.01068, allocations: 4 kB / 0.5295 GB, free: 3.469 MB / 446.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.0107, allocations: 5.234 kB / 0.5295 GB, free: 3.465 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.0107, allocations: 3.938 kB / 0.5295 GB, free: 3.461 MB / 446.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.0107, allocations: 1.281 kB / 0.5295 GB, free: 3.461 MB / 446.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.01089, allocations: 131.8 kB / 0.5296 GB, free: 3.355 MB / 446.2 MB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.01093, allocations: 27.42 kB / 0.5297 GB, free: 3.336 MB / 446.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.01095, allocations: 9.391 kB / 0.5297 GB, free: 3.328 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.404e-05/0.011, allocations: 9.188 kB / 0.5297 GB, free: 3.32 MB / 446.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.01103, allocations: 6.531 kB / 0.5297 GB, free: 3.316 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.01105, allocations: 6.516 kB / 0.5297 GB, free: 3.312 MB / 446.2 MB Notification: Performance of sorting global known variables: time 0.0001875/0.01123, allocations: 214.8 kB / 0.5299 GB, free: 3.176 MB / 446.2 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01123, allocations: 0 / 0.5299 GB, free: 3.176 MB / 446.2 MB Notification: Performance of remove unused functions: time 0.0002306/0.01146, allocations: 24.34 kB / 0.5299 GB, free: 3.168 MB / 446.2 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001557/0.01302, allocations: 432.5 kB / 0.5303 GB, free: 2.973 MB / 446.2 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.01319, allocations: 47.88 kB / 0.5304 GB, free: 2.949 MB / 446.2 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01319, allocations: 1.281 kB / 0.5304 GB, free: 2.949 MB / 446.2 MB Notification: Performance of simCode: created simulation system equations: time 6.405e-05/0.01326, allocations: 16.62 kB / 0.5304 GB, free: 2.945 MB / 446.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.01354, allocations: 51.03 kB / 0.5304 GB, free: 2.914 MB / 446.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000536/0.01408, allocations: 342.3 kB / 0.5308 GB, free: 2.672 MB / 446.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.01418, allocations: 128.9 kB / 0.5309 GB, free: 2.57 MB / 446.2 MB Notification: Performance of simCode: alias equations: time 9.191e-05/0.01428, allocations: 41.78 kB / 0.5309 GB, free: 2.547 MB / 446.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.01433, allocations: 26.41 kB / 0.531 GB, free: 2.535 MB / 446.2 MB Notification: Performance of SimCode: time 3.2e-07/0.01433, allocations: 1.25 kB / 0.531 GB, free: 2.535 MB / 446.2 MB Notification: Performance of Templates: time 0.005375/0.01971, allocations: 1.851 MB / 0.5328 GB, free: 1.328 MB / 446.2 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile [Timeout 300] (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) [Timeout 300] diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.261771783232689]