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.0009815/0.0009815, allocations: 87.62 kB / 21.43 MB, free: 3.137 MB / 18.57 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.00599/0.00599, allocations: 160.2 kB / 24.7 MB, free: 8.879 MB / 18.57 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 0.9538/0.9538, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7367/0.7367, allocations: 88.08 MB / 349.5 MB, free: 14.39 MB / 330.7 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.964e-06/1.964e-06, allocations: 0 / 0.5242 GB, free: 3.594 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.478e-05/3.675e-05, allocations: 6.281 kB / 0.5242 GB, free: 3.586 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002819/0.002856, allocations: 1.552 MB / 0.5257 GB, free: 2.02 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.004269, allocations: 0.9897 MB / 0.5267 GB, free: 1.023 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.004378, allocations: 4 kB / 0.5267 GB, free: 1.02 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.00477, allocations: 71.55 kB / 0.5268 GB, free: 0.9492 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005625/0.005333, allocations: 155.4 kB / 0.5269 GB, free: 0.7969 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.005554, allocations: 79.59 kB / 0.527 GB, free: 0.7188 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.005775, allocations: 139.5 kB / 0.5271 GB, free: 0.582 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/0.005825, allocations: 4 kB / 0.5271 GB, free: 0.5781 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.006056, allocations: 87.73 kB / 0.5272 GB, free: 0.4922 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.006183, allocations: 67.8 kB / 0.5273 GB, free: 436 kB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.00621, allocations: 4 kB / 0.5273 GB, free: 432 kB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.977e-05/0.00631, allocations: 31.92 kB / 0.5273 GB, free: 400 kB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.006428, allocations: 71.81 kB / 0.5274 GB, free: 328 kB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.006482, allocations: 35.86 kB / 0.5274 GB, free: 292 kB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.006717, allocations: 159.3 kB / 0.5276 GB, free: 132 kB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.006721, allocations: 3.938 kB / 0.5276 GB, free: 128 kB / 442.8 MB Notification: Performance of FrontEnd: time 1.803e-06/0.006723, allocations: 0 / 0.5276 GB, free: 128 kB / 442.8 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.006729, allocations: 0 / 0.5276 GB, free: 128 kB / 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.0005895/0.007318, allocations: 420.9 kB / 0.528 GB, free: 15.68 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.007365, allocations: 8.031 kB / 0.528 GB, free: 15.68 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.878e-05/0.007423, allocations: 20.8 kB / 0.528 GB, free: 15.66 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005281/0.007951, allocations: 276.3 kB / 0.5283 GB, free: 15.36 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.007968, allocations: 384 / 0.5283 GB, free: 15.36 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.007981, allocations: 8.375 kB / 0.5283 GB, free: 15.35 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.008124, allocations: 46.23 kB / 0.5283 GB, free: 15.3 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.008143, allocations: 7.875 kB / 0.5283 GB, free: 15.29 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.008154, allocations: 4 kB / 0.5283 GB, free: 15.29 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.00816, allocations: 0 / 0.5283 GB, free: 15.29 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.496e-05/0.008215, allocations: 15.98 kB / 0.5283 GB, free: 15.27 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.008425, allocations: 161.2 kB / 0.5285 GB, free: 15.08 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.008563, allocations: 54.61 kB / 0.5285 GB, free: 15.02 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.66e-05/0.0086, allocations: 16.86 kB / 0.5286 GB, free: 15 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.008616, allocations: 4 kB / 0.5286 GB, free: 15 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.00876, allocations: 71.31 kB / 0.5286 GB, free: 14.91 MB / 458.8 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.008761, allocations: 0 / 0.5286 GB, free: 14.91 MB / 458.8 MB Notification: Performance of matching and sorting (n=5): time 0.0002526/0.009014, allocations: 113.5 kB / 0.5287 GB, free: 14.8 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.009057, allocations: 55.34 kB / 0.5288 GB, free: 14.73 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.009298, allocations: 292.2 kB / 0.5291 GB, free: 14.44 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.009312, allocations: 25.7 kB / 0.5291 GB, free: 14.41 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.088e-05/0.009383, allocations: 140.1 kB / 0.5292 GB, free: 14.27 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.009417, allocations: 15.89 kB / 0.5292 GB, free: 14.25 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.009452, allocations: 21.72 kB / 0.5293 GB, free: 14.23 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.009557, allocations: 338.8 kB / 0.5296 GB, free: 13.89 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.537e-05/0.009592, allocations: 15.98 kB / 0.5296 GB, free: 13.87 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.842e-05/0.00963, allocations: 29.66 kB / 0.5296 GB, free: 13.84 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.391e-05/0.009704, allocations: 49.64 kB / 0.5297 GB, free: 13.78 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.009708, allocations: 0 / 0.5297 GB, free: 13.78 MB / 458.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001254/0.009833, allocations: 101.8 kB / 0.5298 GB, free: 13.68 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.00985, allocations: 5.25 kB / 0.5298 GB, free: 13.67 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.00986, allocations: 11.92 kB / 0.5298 GB, free: 13.66 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.009876, allocations: 4.031 kB / 0.5298 GB, free: 13.66 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.173e-05/0.009948, allocations: 12 kB / 0.5298 GB, free: 13.64 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.009954, allocations: 3.984 kB / 0.5298 GB, free: 13.64 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.354e-05/0.009987, allocations: 4 kB / 0.5298 GB, free: 13.64 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.009993, allocations: 0 / 0.5298 GB, free: 13.64 MB / 458.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 0.0001166/0.01011, allocations: 145.8 kB / 0.53 GB, free: 13.48 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.01013, allocations: 19.86 kB / 0.53 GB, free: 13.46 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.01032, allocations: 115.2 kB / 0.5301 GB, free: 13.35 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.01032, allocations: 0 / 0.5301 GB, free: 13.35 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.01033, allocations: 4 kB / 0.5301 GB, free: 13.34 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01033, allocations: 0 / 0.5301 GB, free: 13.34 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.01047, allocations: 165.3 kB / 0.5302 GB, free: 13.15 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.01047, allocations: 0 / 0.5302 GB, free: 13.15 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.01049, allocations: 4 kB / 0.5302 GB, free: 13.15 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.01049, allocations: 4 kB / 0.5303 GB, free: 13.14 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.0105, allocations: 0 / 0.5303 GB, free: 13.14 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.01051, allocations: 7.922 kB / 0.5303 GB, free: 13.14 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.01051, allocations: 0 / 0.5303 GB, free: 13.14 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.01066, allocations: 132.9 kB / 0.5304 GB, free: 12.99 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.0107, allocations: 31.78 kB / 0.5304 GB, free: 12.96 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.01072, allocations: 4 kB / 0.5304 GB, free: 12.95 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.245e-05/0.01074, allocations: 15.86 kB / 0.5304 GB, free: 12.94 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.01078, allocations: 0 / 0.5304 GB, free: 12.94 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.0108, allocations: 8.125 kB / 0.5304 GB, free: 12.93 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0001405/0.01094, allocations: 219 kB / 0.5307 GB, free: 12.71 MB / 458.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01094, allocations: 0 / 0.5307 GB, free: 12.71 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.000169/0.0111, allocations: 20 kB / 0.5307 GB, free: 12.7 MB / 458.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.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.0008142/0.01192, allocations: 434.5 kB / 0.5311 GB, free: 12.45 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.01207, allocations: 47.92 kB / 0.5311 GB, free: 12.4 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.01207, allocations: 0 / 0.5311 GB, free: 12.4 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 4.047e-05/0.01211, allocations: 19.98 kB / 0.5311 GB, free: 12.38 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.01234, allocations: 36.95 kB / 0.5312 GB, free: 12.34 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005474/0.01289, allocations: 365 kB / 0.5315 GB, free: 11.95 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.01299, allocations: 128 kB / 0.5317 GB, free: 11.81 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.01305, allocations: 32.47 kB / 0.5317 GB, free: 11.78 MB / 458.8 MB Notification: Performance of SimCode: time 1.153e-06/0.01305, allocations: 3.938 kB / 0.5317 GB, free: 11.77 MB / 458.8 MB Notification: Performance of Templates: time 0.003879/0.01693, allocations: 2.713 MB / 0.5343 GB, free: 9.062 MB / 458.8 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.05357969738543]