Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.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.00143/0.00143, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001441/0.001441, allocations: 165 kB / 24.56 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.9004/0.9004, allocations: 177.1 MB / 205 MB, free: 5.621 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.61/0.61, allocations: 88.09 MB / 349.6 MB, free: 14.3 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.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 451.6 MB, free: 33.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.701e-05, allocations: 8.484 kB / 451.6 MB, free: 33.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.001472/0.001489, allocations: 1.464 MB / 453 MB, free: 32.36 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006579/0.002146, allocations: 0.5848 MB / 453.6 MB, free: 31.98 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.414e-05/0.002201, allocations: 2.688 kB / 453.6 MB, free: 31.98 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.002395, allocations: 118.2 kB / 453.8 MB, free: 31.96 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.002691, allocations: 171.3 kB / 453.9 MB, free: 31.92 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.002896, allocations: 78.86 kB / 454 MB, free: 31.88 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.003108, allocations: 344.5 kB / 454.3 MB, free: 31.81 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.339e-05/0.003141, allocations: 2.719 kB / 454.3 MB, free: 31.81 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000897/0.004038, allocations: 1.099 MB / 455.4 MB, free: 31.68 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.004174, allocations: 164.2 kB / 455.6 MB, free: 31.66 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.004209, allocations: 6.906 kB / 455.6 MB, free: 31.66 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.004309, allocations: 70.02 kB / 455.7 MB, free: 31.64 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003723/0.004682, allocations: 0.6412 MB / 456.3 MB, free: 31.45 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 9.014e-05/0.004772, allocations: 136.7 kB / 456.4 MB, free: 31.39 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000388/0.00516, allocations: 0.7161 MB / 457.2 MB, free: 31.11 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.005162, allocations: 2.844 kB / 457.2 MB, free: 31.11 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005163, allocations: 0 / 457.2 MB, free: 31.11 MB / 410.8 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.005173, allocations: 0 / 457.2 MB, free: 31.11 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008928/0.006066, allocations: 1.684 MB / 458.8 MB, free: 29.81 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.006098, allocations: 9.062 kB / 458.9 MB, free: 29.81 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.006205, allocations: 162.3 kB / 459 MB, free: 29.72 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007425/0.006947, allocations: 1.017 MB / 460 MB, free: 29.13 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.006959, allocations: 3.188 kB / 460 MB, free: 29.13 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.006976, allocations: 384 / 460 MB, free: 29.13 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.007125, allocations: 130.2 kB / 460.2 MB, free: 29.06 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.007132, allocations: 192 / 460.2 MB, free: 29.06 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.007148, allocations: 3.031 kB / 460.2 MB, free: 29.06 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.007154, allocations: 3.938 kB / 460.2 MB, free: 29.06 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.626e-05/0.00722, allocations: 84.17 kB / 460.3 MB, free: 29.02 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.00762, allocations: 0.6657 MB / 460.9 MB, free: 28.65 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.061e-05/0.007701, allocations: 88.36 kB / 461 MB, free: 28.57 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.885e-05/0.00776, allocations: 68.02 kB / 461.1 MB, free: 28.53 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.007768, allocations: 4 kB / 461.1 MB, free: 28.52 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/0.007902, allocations: 180 kB / 461.2 MB, free: 28.4 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.007904, allocations: 3.984 kB / 461.3 MB, free: 28.4 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0004109/0.008315, allocations: 0.4943 MB / 461.7 MB, free: 28.17 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.008343, allocations: 91.3 kB / 461.8 MB, free: 28.07 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000831/0.009174, allocations: 1.503 MB / 463.3 MB, free: 27.45 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.009189, allocations: 28.64 kB / 463.4 MB, free: 27.42 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/0.009494, allocations: 0.7453 MB / 464.1 MB, free: 26.83 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.009531, allocations: 21.94 kB / 464.1 MB, free: 26.82 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.009586, allocations: 60.2 kB / 464.2 MB, free: 26.79 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.402e-05/0.00963, allocations: 498.3 kB / 464.7 MB, free: 26.3 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.584e-05/0.009676, allocations: 55.45 kB / 464.7 MB, free: 26.27 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/0.009716, allocations: 63.34 kB / 464.8 MB, free: 26.23 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.846e-05/0.009815, allocations: 142.3 kB / 464.9 MB, free: 26.14 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.009817, allocations: 0 / 464.9 MB, free: 26.14 MB / 410.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002841/0.0101, allocations: 444.2 kB / 465.4 MB, free: 25.95 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.01013, allocations: 34.67 kB / 465.4 MB, free: 25.92 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.01013, allocations: 7.094 kB / 465.4 MB, free: 25.91 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.01014, allocations: 0 / 465.4 MB, free: 25.91 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.422e-05/0.0102, allocations: 18 kB / 465.4 MB, free: 25.9 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.01021, allocations: 4 kB / 465.4 MB, free: 25.9 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.55e-05/0.01028, allocations: 10.77 kB / 465.4 MB, free: 25.89 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/0.01034, allocations: 97.44 kB / 465.5 MB, free: 25.88 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001086/0.01045, allocations: 194.2 kB / 465.7 MB, free: 25.69 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.848e-05/0.01053, allocations: 155 kB / 465.9 MB, free: 25.6 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.007e-05/0.01061, allocations: 127.2 kB / 466 MB, free: 25.54 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.01061, allocations: 0 / 466 MB, free: 25.54 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.01062, allocations: 6.594 kB / 466 MB, free: 25.54 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01062, allocations: 0 / 466 MB, free: 25.54 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000369/0.01099, allocations: 0.6853 MB / 466.7 MB, free: 25.17 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01099, allocations: 4 kB / 466.7 MB, free: 25.16 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-05/0.01101, allocations: 3.031 kB / 466.7 MB, free: 25.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.01101, allocations: 0 / 466.7 MB, free: 25.16 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.01103, allocations: 21.02 kB / 466.7 MB, free: 25.16 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.01103, allocations: 3.422 kB / 466.7 MB, free: 25.16 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01103, allocations: 0 / 466.7 MB, free: 25.16 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.01135, allocations: 0.508 MB / 467.2 MB, free: 24.9 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.01145, allocations: 143.5 kB / 467.4 MB, free: 24.81 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/0.0115, allocations: 2.844 kB / 467.4 MB, free: 24.81 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.758e-05/0.01157, allocations: 2.781 kB / 467.4 MB, free: 24.81 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.01162, allocations: 9.969 kB / 467.4 MB, free: 24.8 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.179e-05/0.01169, allocations: 101.6 kB / 467.5 MB, free: 24.79 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0005642/0.01226, allocations: 0.8432 MB / 468.3 MB, free: 24.47 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01226, allocations: 0 / 468.3 MB, free: 24.47 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001959/0.01246, allocations: 61.03 kB / 468.4 MB, free: 24.46 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: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001582/0.01261, allocations: 132.6 kB / 468.5 MB, free: 24.37 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.01283, allocations: 217.5 kB / 468.7 MB, free: 24.21 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01283, allocations: 0 / 468.7 MB, free: 24.21 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.008e-05/0.01291, allocations: 140 kB / 468.9 MB, free: 24.1 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.01321, allocations: 129.7 kB / 469 MB, free: 24.03 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.01472, allocations: 1.827 MB / 470.8 MB, free: 23.09 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.0149, allocations: 283.1 kB / 471.1 MB, free: 22.99 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0003462/0.01525, allocations: 254.3 kB / 471.3 MB, free: 22.91 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.832e-05/0.01531, allocations: 74.12 kB / 471.4 MB, free: 22.91 MB / 410.8 MB Notification: Performance of SimCode: time 1.403e-06/0.01531, allocations: 0 / 471.4 MB, free: 22.91 MB / 410.8 MB Notification: Performance of Templates: time 0.01171/0.02703, allocations: 6.304 MB / 477.7 MB, free: 21.8 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_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.642959055956453]