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.00103/0.00103, allocations: 87.58 kB / 21.19 MB, free: 3.375 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.0009993/0.0009993, allocations: 161 kB / 24.55 MB, free: 12 kB / 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.9715/0.9715, allocations: 177.1 MB / 205 MB, free: 5.598 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.6102/0.6102, allocations: 88.07 MB / 349.5 MB, free: 14.28 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.964e-06/1.964e-06, allocations: 0 / 451.5 MB, free: 33.33 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.419e-05/1.615e-05, allocations: 2.969 kB / 451.5 MB, free: 33.32 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002051/0.002067, allocations: 1.615 MB / 453.2 MB, free: 32.26 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.003241, allocations: 1.032 MB / 454.2 MB, free: 31.61 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.853e-05/0.003319, allocations: 0 / 454.2 MB, free: 31.61 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.003639, allocations: 59.66 kB / 454.2 MB, free: 31.59 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004325/0.004071, allocations: 161.9 kB / 454.4 MB, free: 31.52 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.00423, allocations: 70.77 kB / 454.5 MB, free: 31.48 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.0044, allocations: 142 kB / 454.6 MB, free: 31.43 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.004438, allocations: 6.5 kB / 454.6 MB, free: 31.42 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.00462, allocations: 91.52 kB / 454.7 MB, free: 31.38 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.004727, allocations: 57.52 kB / 454.8 MB, free: 31.37 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.004745, allocations: 2.875 kB / 454.8 MB, free: 31.37 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.221e-05/0.004817, allocations: 35.08 kB / 454.8 MB, free: 31.36 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 9.775e-05/0.004915, allocations: 76.02 kB / 454.9 MB, free: 31.33 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.004957, allocations: 36.73 kB / 454.9 MB, free: 31.31 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.005145, allocations: 133.6 kB / 455 MB, free: 31.26 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.005148, allocations: 0 / 455 MB, free: 31.26 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.423e-06/0.005149, allocations: 0 / 455 MB, free: 31.26 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.005155, allocations: 0 / 455 MB, free: 31.26 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.0004527/0.005608, allocations: 0.5223 MB / 455.6 MB, free: 30.77 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.005644, allocations: 11.66 kB / 455.6 MB, free: 30.77 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.226e-05/0.005696, allocations: 24.97 kB / 455.6 MB, free: 30.76 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.005953, allocations: 258.9 kB / 455.9 MB, free: 30.56 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.005969, allocations: 384 / 455.9 MB, free: 30.56 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.005982, allocations: 11.31 kB / 455.9 MB, free: 30.55 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.006096, allocations: 54.02 kB / 455.9 MB, free: 30.51 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.006105, allocations: 3.938 kB / 455.9 MB, free: 30.5 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.006113, allocations: 0 / 455.9 MB, free: 30.5 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.006121, allocations: 3.984 kB / 455.9 MB, free: 30.5 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.151e-05/0.006152, allocations: 17.09 kB / 455.9 MB, free: 30.49 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/0.00631, allocations: 173.2 kB / 456.1 MB, free: 30.33 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.439e-05/0.006404, allocations: 47.55 kB / 456.2 MB, free: 30.29 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.557e-05/0.00643, allocations: 21.06 kB / 456.2 MB, free: 30.27 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.006446, allocations: 6.812 kB / 456.2 MB, free: 30.27 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.22e-05/0.006538, allocations: 66.97 kB / 456.3 MB, free: 30.21 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.006539, allocations: 0 / 456.3 MB, free: 30.21 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.0001844/0.006723, allocations: 96.19 kB / 456.3 MB, free: 30.16 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.006745, allocations: 55.34 kB / 456.4 MB, free: 30.09 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.006905, allocations: 325.1 kB / 456.7 MB, free: 29.88 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.006914, allocations: 29.7 kB / 456.7 MB, free: 29.84 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.027e-05/0.006965, allocations: 184.5 kB / 456.9 MB, free: 29.68 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.006991, allocations: 18.02 kB / 456.9 MB, free: 29.66 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.00702, allocations: 22.28 kB / 457 MB, free: 29.64 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.631e-05/0.007077, allocations: 0.514 MB / 457.5 MB, free: 29.13 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.28e-05/0.0071, allocations: 17.12 kB / 457.5 MB, free: 29.12 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.669e-05/0.007126, allocations: 24.34 kB / 457.5 MB, free: 29.1 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.678e-05/0.007173, allocations: 37.69 kB / 457.6 MB, free: 29.07 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.007175, allocations: 0 / 457.6 MB, free: 29.07 MB / 410.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.569e-05/0.007261, allocations: 84.36 kB / 457.6 MB, free: 29.01 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.007273, allocations: 5.812 kB / 457.6 MB, free: 29.01 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.007278, allocations: 3.938 kB / 457.6 MB, free: 29.01 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.007292, allocations: 4.031 kB / 457.7 MB, free: 29 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.714e-05/0.007359, allocations: 11.89 kB / 457.7 MB, free: 29 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.007365, allocations: 6.75 kB / 457.7 MB, free: 29 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.38e-05/0.007399, allocations: 6.844 kB / 457.7 MB, free: 29 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.007404, allocations: 0 / 457.7 MB, free: 29 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.557e-05/0.00746, allocations: 166.6 kB / 457.8 MB, free: 28.83 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.007479, allocations: 25.95 kB / 457.9 MB, free: 28.82 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.007603, allocations: 92.75 kB / 458 MB, free: 28.76 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.007605, allocations: 0 / 458 MB, free: 28.76 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.007608, allocations: 2.781 kB / 458 MB, free: 28.76 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.007612, allocations: 4 kB / 458 MB, free: 28.76 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.746e-05/0.00771, allocations: 181.3 kB / 458.1 MB, free: 28.59 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007711, allocations: 2.812 kB / 458.1 MB, free: 28.59 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.146e-05/0.007733, allocations: 14.66 kB / 458.2 MB, free: 28.58 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.007734, allocations: 0 / 458.2 MB, free: 28.58 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.007741, allocations: 6.969 kB / 458.2 MB, free: 28.58 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.007742, allocations: 3.938 kB / 458.2 MB, free: 28.57 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.007743, allocations: 0 / 458.2 MB, free: 28.57 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.48e-05/0.007828, allocations: 127.5 kB / 458.3 MB, free: 28.47 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.007857, allocations: 24.75 kB / 458.3 MB, free: 28.46 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.007875, allocations: 2.875 kB / 458.3 MB, free: 28.46 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.628e-05/0.007901, allocations: 14.23 kB / 458.3 MB, free: 28.45 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.007928, allocations: 0 / 458.3 MB, free: 28.45 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.007939, allocations: 6.938 kB / 458.3 MB, free: 28.45 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.8e-05/0.008027, allocations: 221.3 kB / 458.6 MB, free: 28.3 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.008027, allocations: 0 / 458.6 MB, free: 28.3 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001558/0.008183, allocations: 17.7 kB / 458.6 MB, free: 28.3 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.0008203/0.009003, allocations: 387.2 kB / 459 MB, free: 28.12 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.009112, allocations: 35 kB / 459 MB, free: 28.1 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009114, allocations: 0 / 459 MB, free: 28.1 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 3.027e-05/0.009144, allocations: 34.44 kB / 459 MB, free: 28.08 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.009352, allocations: 35.2 kB / 459.1 MB, free: 28.07 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.009716, allocations: 316.7 kB / 459.4 MB, free: 27.84 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.588e-05/0.009752, allocations: 86.53 kB / 459.4 MB, free: 27.77 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 5.549e-05/0.009808, allocations: 29.97 kB / 459.5 MB, free: 27.76 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.009848, allocations: 32.55 kB / 459.5 MB, free: 27.75 MB / 410.8 MB Notification: Performance of SimCode: time 6.61e-07/0.009848, allocations: 4 kB / 459.5 MB, free: 27.74 MB / 410.8 MB Notification: Performance of Templates: time 0.003844/0.01369, allocations: 1.863 MB / 461.4 MB, free: 27.45 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.7693207319825888]