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.0009403/0.0009403, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001156/0.001156, allocations: 165.9 kB / 24.82 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.901/0.901, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.5725/0.5725, allocations: 88.08 MB / 349.9 MB, free: 14.14 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.[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.744e-06/1.744e-06, allocations: 0 / 452 MB, free: 33.12 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.443e-05, allocations: 4.719 kB / 452 MB, free: 33.11 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.001917/0.001941, allocations: 1.608 MB / 453.6 MB, free: 32.04 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009858/0.002927, allocations: 1.001 MB / 454.6 MB, free: 31.41 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.002999, allocations: 7.938 kB / 454.6 MB, free: 31.4 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.003267, allocations: 64.67 kB / 454.7 MB, free: 31.38 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.003613, allocations: 161 kB / 454.9 MB, free: 31.3 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001029/0.003715, allocations: 73.73 kB / 454.9 MB, free: 31.26 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.003848, allocations: 140.6 kB / 455.1 MB, free: 31.2 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.364e-05/0.003882, allocations: 9.062 kB / 455.1 MB, free: 31.2 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.004177, allocations: 187.9 kB / 455.3 MB, free: 31.16 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.004225, allocations: 36.94 kB / 455.3 MB, free: 31.15 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.00424, allocations: 2.625 kB / 455.3 MB, free: 31.15 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.956e-05/0.004299, allocations: 38.66 kB / 455.3 MB, free: 31.14 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.198e-05/0.004371, allocations: 79.45 kB / 455.4 MB, free: 31.11 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.953e-05/0.004411, allocations: 26.67 kB / 455.4 MB, free: 31.09 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.00456, allocations: 127.3 kB / 455.6 MB, free: 31.04 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.004563, allocations: 0 / 455.6 MB, free: 31.04 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004564, allocations: 4 kB / 455.6 MB, free: 31.04 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.004568, allocations: 0 / 455.6 MB, free: 31.04 MB / 410.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.0003528/0.004921, allocations: 0.5229 MB / 456.1 MB, free: 30.55 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.004952, allocations: 8.625 kB / 456.1 MB, free: 30.55 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.004984, allocations: 28.39 kB / 456.1 MB, free: 30.54 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.005152, allocations: 225 kB / 456.3 MB, free: 30.35 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.005165, allocations: 3.375 kB / 456.3 MB, free: 30.35 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-06/0.005173, allocations: 384 / 456.3 MB, free: 30.35 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.874e-05/0.005261, allocations: 58.19 kB / 456.4 MB, free: 30.3 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.005268, allocations: 7.938 kB / 456.4 MB, free: 30.29 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-06/0.005274, allocations: 0 / 456.4 MB, free: 30.29 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.005279, allocations: 0 / 456.4 MB, free: 30.29 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.02e-05/0.005299, allocations: 9.109 kB / 456.4 MB, free: 30.29 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001037/0.005402, allocations: 132.5 kB / 456.5 MB, free: 30.16 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.109e-05/0.005473, allocations: 48.78 kB / 456.6 MB, free: 30.12 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.692e-05/0.00549, allocations: 16.88 kB / 456.6 MB, free: 30.11 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.005505, allocations: 0 / 456.6 MB, free: 30.11 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.473e-05/0.00558, allocations: 71.03 kB / 456.7 MB, free: 30.04 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.005581, allocations: 4 kB / 456.7 MB, free: 30.04 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.000139/0.00572, allocations: 94.14 kB / 456.8 MB, free: 29.98 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.769e-05/0.005737, allocations: 54.73 kB / 456.8 MB, free: 29.92 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.005863, allocations: 317.8 kB / 457.1 MB, free: 29.71 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/0.005872, allocations: 32.58 kB / 457.2 MB, free: 29.67 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.005918, allocations: 185.1 kB / 457.4 MB, free: 29.5 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.005944, allocations: 25.62 kB / 457.4 MB, free: 29.48 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.005969, allocations: 20.75 kB / 457.4 MB, free: 29.46 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.289e-05/0.006022, allocations: 0.5138 MB / 457.9 MB, free: 28.95 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.006035, allocations: 10.22 kB / 457.9 MB, free: 28.95 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.888e-05/0.006054, allocations: 28.09 kB / 457.9 MB, free: 28.92 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.451e-05/0.006088, allocations: 46 kB / 458 MB, free: 28.88 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.00609, allocations: 0 / 458 MB, free: 28.88 MB / 410.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.585e-05/0.006156, allocations: 73.67 kB / 458.1 MB, free: 28.84 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.006168, allocations: 5.812 kB / 458.1 MB, free: 28.84 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.006173, allocations: 3.938 kB / 458.1 MB, free: 28.83 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.006183, allocations: 6.844 kB / 458.1 MB, free: 28.83 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.301e-05/0.006236, allocations: 11.86 kB / 458.1 MB, free: 28.83 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.006239, allocations: 0 / 458.1 MB, free: 28.83 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.006267, allocations: 10.88 kB / 458.1 MB, free: 28.82 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.006271, allocations: 0 / 458.1 MB, free: 28.82 MB / 410.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 5.371e-05/0.006325, allocations: 159.5 kB / 458.3 MB, free: 28.66 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.006343, allocations: 23.36 kB / 458.3 MB, free: 28.64 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.006443, allocations: 96.27 kB / 458.4 MB, free: 28.59 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.006446, allocations: 9.984 kB / 458.4 MB, free: 28.58 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.006448, allocations: 0 / 458.4 MB, free: 28.58 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.006451, allocations: 384 / 458.4 MB, free: 28.58 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.157e-05/0.006532, allocations: 141.9 kB / 458.5 MB, free: 28.45 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.006534, allocations: 4 kB / 458.5 MB, free: 28.45 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.862e-05/0.006552, allocations: 9.969 kB / 458.5 MB, free: 28.44 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.006554, allocations: 2.906 kB / 458.5 MB, free: 28.44 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-06/0.006559, allocations: 0 / 458.5 MB, free: 28.44 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.00656, allocations: 0 / 458.5 MB, free: 28.44 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.006561, allocations: 0 / 458.5 MB, free: 28.44 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.397e-05/0.006635, allocations: 124.3 kB / 458.7 MB, free: 28.34 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.006665, allocations: 27.77 kB / 458.7 MB, free: 28.32 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.00668, allocations: 0 / 458.7 MB, free: 28.32 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.424e-05/0.006704, allocations: 6.781 kB / 458.7 MB, free: 28.32 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.006727, allocations: 6.312 kB / 458.7 MB, free: 28.32 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.006738, allocations: 3.938 kB / 458.7 MB, free: 28.32 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.09e-05/0.006809, allocations: 220 kB / 458.9 MB, free: 28.17 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.006809, allocations: 0 / 458.9 MB, free: 28.17 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000136/0.006945, allocations: 22.38 kB / 458.9 MB, free: 28.16 MB / 410.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.0007495/0.007695, allocations: 384.2 kB / 459.3 MB, free: 27.98 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 7.563e-05/0.00777, allocations: 30.91 kB / 459.3 MB, free: 27.97 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.007772, allocations: 0 / 459.3 MB, free: 27.97 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 2.537e-05/0.007797, allocations: 29.72 kB / 459.4 MB, free: 27.95 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.007982, allocations: 43.12 kB / 459.4 MB, free: 27.93 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003183/0.0083, allocations: 306.4 kB / 459.7 MB, free: 27.71 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.397e-05/0.008334, allocations: 94.42 kB / 459.8 MB, free: 27.63 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 5.478e-05/0.008389, allocations: 36.48 kB / 459.8 MB, free: 27.62 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.472e-05/0.008454, allocations: 97.12 kB / 459.9 MB, free: 27.56 MB / 410.8 MB Notification: Performance of SimCode: time 1.062e-06/0.008455, allocations: 0 / 459.9 MB, free: 27.56 MB / 410.8 MB Notification: Performance of Templates: time 0.00365/0.01211, allocations: 2.021 MB / 462 MB, free: 27.25 MB / 410.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.3979764226824045]