Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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.001291/0.001291, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.00143/0.00143, allocations: 169 kB / 24.91 MB, free: 8.723 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.9352/0.9352, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.7061/0.7061, allocations: 88.08 MB / 349.9 MB, free: 11.76 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.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4498,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4498,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 398.8 MB, free: 13.34 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.611e-05, allocations: 2.312 kB / 398.8 MB, free: 13.34 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002577/0.002593, allocations: 1.469 MB / 400.3 MB, free: 11.86 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.003706, allocations: 0.584 MB / 400.9 MB, free: 11.27 MB / 378.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.09e-05/0.003767, allocations: 0 / 400.9 MB, free: 11.27 MB / 378.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.005079, allocations: 1.723 MB / 402.6 MB, free: 9.547 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.006546, allocations: 1.766 MB / 404.3 MB, free: 7.777 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.006891, allocations: 79.72 kB / 404.4 MB, free: 7.699 MB / 378.8 MB Notification: Performance of NFFlatten.flatten: time 0.003865/0.01076, allocations: 4.307 MB / 408.7 MB, free: 3.387 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.001e-05/0.0108, allocations: 0 / 408.7 MB, free: 3.387 MB / 378.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01308/0.02388, allocations: 14.74 MB / 423.5 MB, free: 4.625 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.02566, allocations: 2.16 MB / 425.6 MB, free: 2.461 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001817/0.02584, allocations: 4 kB / 425.6 MB, free: 2.457 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/0.0262, allocations: 75.92 kB / 425.7 MB, free: 2.383 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 0.005291/0.03149, allocations: 8.673 MB / 434.4 MB, free: 9.688 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.03284, allocations: 1.888 MB / 436.3 MB, free: 7.785 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.005907/0.03875, allocations: 10.19 MB / 446.5 MB, free: 13.54 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.03875, allocations: 0 / 446.5 MB, free: 13.54 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.305e-06/0.03876, allocations: 0 / 446.5 MB, free: 13.54 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.000306/0.03906, allocations: 0 / 446.5 MB, free: 13.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01354/0.0526, allocations: 19.46 MB / 465.9 MB, free: 9.867 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.05264, allocations: 12.03 kB / 465.9 MB, free: 9.855 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.05402, allocations: 1.105 MB / 467 MB, free: 8.75 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01753/0.07155, allocations: 15.35 MB / 482.4 MB, free: 9.184 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.07157, allocations: 384 / 482.4 MB, free: 9.184 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.07171, allocations: 384 / 482.4 MB, free: 9.184 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009638/0.07267, allocations: 0.6544 MB / 483 MB, free: 8.516 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.07268, allocations: 192 / 483 MB, free: 8.516 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.07278, allocations: 0.5625 kB / 483 MB, free: 8.516 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.07279, allocations: 3.938 kB / 483 MB, free: 8.512 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004297/0.07322, allocations: 356.9 kB / 483.4 MB, free: 8.156 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.07457, allocations: 65.03 kB / 483.5 MB, free: 8.078 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.07489, allocations: 211.9 kB / 483.7 MB, free: 7.855 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.07517, allocations: 202.2 kB / 483.9 MB, free: 7.648 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.783e-06/0.07517, allocations: 0 / 483.9 MB, free: 7.648 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005513/0.07572, allocations: 0.7001 MB / 484.6 MB, free: 6.922 MB / 458.8 MB Notification: Performance of pre-optimization done (n=8): time 2.315e-06/0.07573, allocations: 7.922 kB / 484.6 MB, free: 6.914 MB / 458.8 MB Notification: Performance of matching and sorting (n=8): time 0.002392/0.07812, allocations: 1.727 MB / 486.3 MB, free: 5.16 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.07816, allocations: 81.11 kB / 486.4 MB, free: 5.062 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01522/0.09337, allocations: 17.21 MB / 0.4918 GB, free: 4.047 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002097/0.09358, allocations: 29.7 kB / 0.4918 GB, free: 4.012 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002352/0.09593, allocations: 3.457 MB / 0.4952 GB, free: 0.543 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.09612, allocations: 19.84 kB / 0.4952 GB, free: 0.5234 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003789/0.0965, allocations: 345 kB / 0.4955 GB, free: 184 kB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.64e-05/0.09657, allocations: 309.9 kB / 0.4958 GB, free: 15.87 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.09686, allocations: 197.3 kB / 0.496 GB, free: 15.67 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.09712, allocations: 201.3 kB / 0.4962 GB, free: 15.47 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/0.09764, allocations: 411.4 kB / 0.4966 GB, free: 15.05 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.09765, allocations: 0 / 0.4966 GB, free: 15.05 MB / 490.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002046/0.09969, allocations: 1.518 MB / 0.4981 GB, free: 13.51 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.09973, allocations: 41.69 kB / 0.4981 GB, free: 13.46 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.09974, allocations: 0 / 0.4981 GB, free: 13.46 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.09976, allocations: 3.938 kB / 0.4981 GB, free: 13.46 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.292e-05/0.09982, allocations: 4 kB / 0.4981 GB, free: 13.46 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-06/0.09982, allocations: 4 kB / 0.4981 GB, free: 13.45 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.1009, allocations: 11.88 kB / 0.4981 GB, free: 13.44 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008799/0.1018, allocations: 1.32 MB / 0.4994 GB, free: 12.12 MB / 490.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.0014/0.1032, allocations: 146.4 kB / 0.4996 GB, free: 11.96 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001244/0.1044, allocations: 1.108 MB / 0.5007 GB, free: 10.85 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.1059, allocations: 1.831 MB / 0.5024 GB, free: 9.016 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1059, allocations: 0 / 0.5024 GB, free: 9.016 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1059, allocations: 0 / 0.5024 GB, free: 9.016 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1059, allocations: 0 / 0.5024 GB, free: 9.016 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003032/0.109, allocations: 4.128 MB / 0.5065 GB, free: 4.859 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.109, allocations: 4 kB / 0.5065 GB, free: 4.855 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.683e-05/0.109, allocations: 0 / 0.5065 GB, free: 4.855 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.109, allocations: 0 / 0.5065 GB, free: 4.855 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001552/0.1092, allocations: 163.6 kB / 0.5066 GB, free: 4.695 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1092, allocations: 4 kB / 0.5066 GB, free: 4.691 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1092, allocations: 0 / 0.5066 GB, free: 4.691 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.1111, allocations: 1.714 MB / 0.5083 GB, free: 2.945 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/0.1127, allocations: 2.023 MB / 0.5103 GB, free: 0.9062 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005602/0.1132, allocations: 4 kB / 0.5103 GB, free: 0.9023 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006528/0.1139, allocations: 4 kB / 0.5103 GB, free: 0.8984 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.1139, allocations: 0 / 0.5103 GB, free: 0.8984 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.2673/0.3812, allocations: 1.321 MB / 0.5116 GB, free: 115.1 MB / 490.9 MB Notification: Performance of sorting global known variables: time 0.007314/0.3885, allocations: 9.554 MB / 0.5209 GB, free: 112.8 MB / 490.9 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3885, allocations: 0 / 0.5209 GB, free: 112.8 MB / 490.9 MB Notification: Performance of remove unused functions: time 0.001569/0.3901, allocations: 0.5231 MB / 0.5214 GB, free: 112.8 MB / 490.9 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.0003009/0.3904, allocations: 109.3 kB / 0.5215 GB, free: 112.7 MB / 490.9 MB Notification: Performance of simCode: created initialization part: time 0.0007306/0.3911, allocations: 481.5 kB / 0.522 GB, free: 112.4 MB / 490.9 MB Notification: Performance of simCode: created event and clocks part: time 0.0001041/0.3912, allocations: 250.5 kB / 0.5222 GB, free: 112.4 MB / 490.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0003701/0.3916, allocations: 275.6 kB / 0.5225 GB, free: 112.2 MB / 490.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/0.3941, allocations: 1.726 MB / 0.5242 GB, free: 111.1 MB / 490.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01888/0.413, allocations: 29.67 MB / 0.5532 GB, free: 84.37 MB / 490.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002028/0.415, allocations: 3.841 MB / 0.5569 GB, free: 80.5 MB / 490.9 MB Notification: Performance of simCode: alias equations: time 0.004101/0.4191, allocations: 3.027 MB / 0.5599 GB, free: 77.62 MB / 490.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00479/0.4239, allocations: 3.485 MB / 0.5633 GB, free: 74.14 MB / 490.9 MB Notification: Performance of SimCode: time 2.525e-06/0.4239, allocations: 4 kB / 0.5633 GB, free: 74.13 MB / 490.9 MB Notification: Performance of Templates: time 0.1133/0.5372, allocations: 58.57 MB / 0.6205 GB, free: 16.06 MB / 490.9 MB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_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: 4.5490947207435966]