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.00107/0.00107, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001132/0.001132, allocations: 168.5 kB / 25.61 MB, free: 8.926 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.9678/0.9678, allocations: 177.2 MB / 206.1 MB, free: 4.508 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.8037/0.8037, allocations: 88.09 MB / 350.7 MB, free: 11.75 MB / 330.8 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.[0-9,]+.|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.[0-9,]+.|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 452.8 MB, free: 8.031 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.568e-05, allocations: 6.25 kB / 452.8 MB, free: 8.023 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002391/0.002417, allocations: 1.601 MB / 454.4 MB, free: 6.406 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.003658, allocations: 1.001 MB / 455.4 MB, free: 5.398 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.00377, allocations: 0 / 455.4 MB, free: 5.398 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000373/0.004143, allocations: 71.59 kB / 455.5 MB, free: 5.328 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004474/0.00459, allocations: 163.3 kB / 455.7 MB, free: 5.168 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.004754, allocations: 67.69 kB / 455.7 MB, free: 5.102 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.004919, allocations: 143.6 kB / 455.9 MB, free: 4.961 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.756e-05/0.004957, allocations: 4 kB / 455.9 MB, free: 4.957 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003219/0.005278, allocations: 187.5 kB / 456.1 MB, free: 4.773 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.533e-05/0.005334, allocations: 43.88 kB / 456.1 MB, free: 4.73 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.005348, allocations: 4 kB / 456.1 MB, free: 4.727 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.681e-05/0.005415, allocations: 35.98 kB / 456.1 MB, free: 4.691 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 8.12e-05/0.005496, allocations: 83.69 kB / 456.2 MB, free: 4.609 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.005533, allocations: 27.86 kB / 456.2 MB, free: 4.582 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.005703, allocations: 131.4 kB / 456.4 MB, free: 4.453 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.005706, allocations: 0 / 456.4 MB, free: 4.453 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.262e-06/0.005707, allocations: 0 / 456.4 MB, free: 4.453 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.005712, allocations: 0 / 456.4 MB, free: 4.453 MB / 426.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.0004387/0.006151, allocations: 0.5264 MB / 456.9 MB, free: 3.891 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.006183, allocations: 8.031 kB / 456.9 MB, free: 3.883 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.006223, allocations: 24.8 kB / 456.9 MB, free: 3.859 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.006457, allocations: 231.2 kB / 457.2 MB, free: 3.602 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.006471, allocations: 384 / 457.2 MB, free: 3.602 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.006478, allocations: 384 / 457.2 MB, free: 3.602 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.006582, allocations: 58.94 kB / 457.2 MB, free: 3.535 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.00659, allocations: 7.938 kB / 457.2 MB, free: 3.527 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.006597, allocations: 0 / 457.2 MB, free: 3.527 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.006601, allocations: 0 / 457.2 MB, free: 3.527 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.343e-05/0.006625, allocations: 7.984 kB / 457.2 MB, free: 3.52 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.006753, allocations: 133.2 kB / 457.4 MB, free: 3.363 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.912e-05/0.006852, allocations: 51.05 kB / 457.4 MB, free: 3.301 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.085e-05/0.006873, allocations: 15.67 kB / 457.4 MB, free: 3.281 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.006887, allocations: 7.984 kB / 457.4 MB, free: 3.273 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.885e-05/0.006986, allocations: 61.03 kB / 457.5 MB, free: 3.199 MB / 426.8 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.006987, allocations: 0 / 457.5 MB, free: 3.199 MB / 426.8 MB Notification: Performance of matching and sorting (n=5): time 0.0001701/0.007157, allocations: 97.42 kB / 457.6 MB, free: 3.098 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.00719, allocations: 51.41 kB / 457.6 MB, free: 3.035 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.007367, allocations: 318.2 kB / 458 MB, free: 2.711 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.007384, allocations: 25.7 kB / 458 MB, free: 2.68 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.586e-05/0.007469, allocations: 194.8 kB / 458.2 MB, free: 2.484 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.007502, allocations: 15.91 kB / 458.2 MB, free: 2.469 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.007539, allocations: 31.34 kB / 458.2 MB, free: 2.43 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.00768, allocations: 0.5118 MB / 458.7 MB, free: 1.906 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.007699, allocations: 8 kB / 458.7 MB, free: 1.898 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.493e-05/0.007724, allocations: 19.38 kB / 458.8 MB, free: 1.871 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.491e-05/0.007769, allocations: 35.61 kB / 458.8 MB, free: 1.828 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.007772, allocations: 3.938 kB / 458.8 MB, free: 1.824 MB / 426.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.521e-05/0.007867, allocations: 85.55 kB / 458.9 MB, free: 1.734 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.00788, allocations: 11.97 kB / 458.9 MB, free: 1.723 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.007888, allocations: 0 / 458.9 MB, free: 1.723 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.007899, allocations: 3.938 kB / 458.9 MB, free: 1.719 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.937e-05/0.007968, allocations: 15.94 kB / 458.9 MB, free: 1.703 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.007971, allocations: 0 / 458.9 MB, free: 1.703 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.551e-05/0.008006, allocations: 7.938 kB / 458.9 MB, free: 1.695 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.008011, allocations: 4 kB / 458.9 MB, free: 1.691 MB / 426.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.9e-05/0.0081, allocations: 160.6 kB / 459.1 MB, free: 1.523 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.00812, allocations: 19.86 kB / 459.1 MB, free: 1.504 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.008238, allocations: 87.16 kB / 459.2 MB, free: 1.414 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.008243, allocations: 11.94 kB / 459.2 MB, free: 1.402 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.008246, allocations: 0 / 459.2 MB, free: 1.402 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.008251, allocations: 0 / 459.2 MB, free: 1.402 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.008358, allocations: 145.1 kB / 459.3 MB, free: 1.234 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.00836, allocations: 0 / 459.3 MB, free: 1.234 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.206e-05/0.008382, allocations: 7.938 kB / 459.3 MB, free: 1.227 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.008385, allocations: 0 / 459.3 MB, free: 1.227 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.008391, allocations: 4 kB / 459.3 MB, free: 1.223 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.008394, allocations: 3.984 kB / 459.3 MB, free: 1.219 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.008394, allocations: 0 / 459.3 MB, free: 1.219 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.008497, allocations: 124.2 kB / 459.5 MB, free: 1.074 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.008529, allocations: 28.03 kB / 459.5 MB, free: 1.047 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.008547, allocations: 8 kB / 459.5 MB, free: 1.039 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.396e-05/0.008571, allocations: 4 kB / 459.5 MB, free: 1.035 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.008594, allocations: 3.984 kB / 459.5 MB, free: 1.031 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.008608, allocations: 7.938 kB / 459.5 MB, free: 1.023 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.67e-05/0.008704, allocations: 211 kB / 459.7 MB, free: 0.8164 MB / 426.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008704, allocations: 0 / 459.7 MB, free: 0.8164 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001527/0.008857, allocations: 20 kB / 459.7 MB, free: 0.7969 MB / 426.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.0008122/0.009669, allocations: 394.7 kB / 460.1 MB, free: 0.5508 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 9.272e-05/0.009762, allocations: 39.61 kB / 460.2 MB, free: 0.5078 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.009764, allocations: 0 / 460.2 MB, free: 0.5078 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 3.01e-05/0.009794, allocations: 23.61 kB / 460.2 MB, free: 492 kB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.009989, allocations: 48.95 kB / 460.2 MB, free: 440 kB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.01035, allocations: 303.5 kB / 460.5 MB, free: 104 kB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.575e-05/0.0104, allocations: 87.91 kB / 460.6 MB, free: 16 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 5.802e-05/0.01046, allocations: 29.61 kB / 460.6 MB, free: 15.97 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.863e-05/0.01054, allocations: 102.2 kB / 460.7 MB, free: 15.87 MB / 442.8 MB Notification: Performance of SimCode: time 5.81e-07/0.01054, allocations: 0 / 460.7 MB, free: 15.87 MB / 442.8 MB Notification: Performance of Templates: time 0.003969/0.01451, allocations: 2.021 MB / 462.8 MB, free: 13.88 MB / 442.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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.777610123157501]