Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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.001468/0.001468, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001782/0.001782, allocations: 161 kB / 24.56 MB, free: 20 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.9178/0.9178, allocations: 177.2 MB / 205 MB, free: 5.289 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.6232/0.6232, allocations: 88.07 MB / 349.6 MB, free: 14.22 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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 3.938 kB / 451.6 MB, free: 33.33 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.164e-05/3.388e-05, allocations: 8.25 kB / 451.6 MB, free: 33.33 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002837/0.002871, allocations: 1.462 MB / 453 MB, free: 32.35 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.003903, allocations: 0.5755 MB / 453.6 MB, free: 31.98 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.734e-05/0.003971, allocations: 3.938 kB / 453.6 MB, free: 31.98 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0003929/0.004364, allocations: 445.9 kB / 454.1 MB, free: 31.9 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005333/0.004897, allocations: 0.49 MB / 454.5 MB, free: 31.8 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.005219, allocations: 85.53 kB / 454.6 MB, free: 31.77 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0008079/0.006027, allocations: 1.125 MB / 455.8 MB, free: 31.55 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/0.006074, allocations: 2.531 kB / 455.8 MB, free: 31.55 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.007141, allocations: 0.643 MB / 456.4 MB, free: 31.39 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.008409, allocations: 1.151 MB / 457.6 MB, free: 31.23 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002184/0.008627, allocations: 66.69 kB / 457.6 MB, free: 31.23 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002615/0.008889, allocations: 130 kB / 457.7 MB, free: 31.22 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002318/0.01121, allocations: 2.632 MB / 460.4 MB, free: 30.4 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0006627/0.01187, allocations: 0.609 MB / 461 MB, free: 30.05 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003104/0.01497, allocations: 2.578 MB / 463.6 MB, free: 29.03 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.01498, allocations: 0 / 463.6 MB, free: 29.03 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01498, allocations: 0 / 463.6 MB, free: 29.03 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0001434/0.01512, allocations: 0 / 463.6 MB, free: 29.03 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.006481/0.0216, allocations: 5.582 MB / 469.1 MB, free: 25.05 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.02165, allocations: 11.81 kB / 469.2 MB, free: 25.04 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008071/0.02246, allocations: 0.5932 MB / 469.7 MB, free: 24.7 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008034/0.03049, allocations: 5.241 MB / 475 MB, free: 22.2 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.03051, allocations: 2.219 kB / 475 MB, free: 22.2 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.228e-05/0.03058, allocations: 17.91 kB / 475 MB, free: 22.2 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/0.03102, allocations: 262.7 kB / 475.3 MB, free: 22.13 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.03103, allocations: 192 / 475.3 MB, free: 22.13 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.969e-05/0.03109, allocations: 16.03 kB / 475.3 MB, free: 22.13 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.03111, allocations: 8.781 kB / 475.3 MB, free: 22.12 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/0.03139, allocations: 157.8 kB / 475.4 MB, free: 22.09 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/0.03417, allocations: 2.371 MB / 477.8 MB, free: 20.99 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.03439, allocations: 133.4 kB / 477.9 MB, free: 20.91 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.03458, allocations: 108.2 kB / 478.1 MB, free: 20.87 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.03458, allocations: 0 / 478.1 MB, free: 20.87 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003509/0.03493, allocations: 293 kB / 478.3 MB, free: 20.74 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.03494, allocations: 0 / 478.3 MB, free: 20.74 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.002075/0.03701, allocations: 1.269 MB / 479.6 MB, free: 20.25 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.03705, allocations: 84.61 kB / 479.7 MB, free: 20.16 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00679/0.04384, allocations: 5.629 MB / 485.3 MB, free: 18.12 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/0.04389, allocations: 45.69 kB / 485.4 MB, free: 18.09 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002137/0.04603, allocations: 2.859 MB / 488.2 MB, free: 15.86 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.595e-05/0.04611, allocations: 33.86 kB / 488.3 MB, free: 15.85 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.04631, allocations: 139.9 kB / 488.4 MB, free: 15.82 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.178e-05/0.04637, allocations: 489.6 kB / 488.9 MB, free: 15.34 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.04652, allocations: 102.8 kB / 489 MB, free: 15.3 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.04665, allocations: 111.6 kB / 489.1 MB, free: 15.27 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.04694, allocations: 225.5 kB / 489.3 MB, free: 15.18 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.04694, allocations: 3.938 kB / 489.3 MB, free: 15.18 MB / 410.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001267/0.04821, allocations: 1.166 MB / 490.5 MB, free: 14.72 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.04825, allocations: 36.95 kB / 490.5 MB, free: 14.69 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.04825, allocations: 4 kB / 490.5 MB, free: 14.69 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.04827, allocations: 0 / 490.5 MB, free: 14.69 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.649e-05/0.04836, allocations: 15.23 kB / 490.5 MB, free: 14.68 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.04837, allocations: 0 / 490.5 MB, free: 14.68 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/0.04873, allocations: 23.33 kB / 490.5 MB, free: 14.68 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002485/0.04898, allocations: 222.8 kB / 490.8 MB, free: 14.64 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.0004196/0.0494, allocations: 228.8 kB / 491 MB, free: 14.45 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004934/0.0499, allocations: 0.6179 MB / 491.6 MB, free: 13.96 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003988/0.05029, allocations: 473.9 kB / 492.1 MB, free: 13.59 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.0503, allocations: 0 / 492.1 MB, free: 13.59 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.0503, allocations: 3.938 kB / 492.1 MB, free: 13.59 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.05031, allocations: 3.234 kB / 492.1 MB, free: 13.59 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.05238, allocations: 2.44 MB / 494.5 MB, free: 11.48 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.05238, allocations: 0 / 494.5 MB, free: 11.48 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-05/0.05242, allocations: 7.422 kB / 494.5 MB, free: 11.48 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.05242, allocations: 3.938 kB / 494.5 MB, free: 11.47 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.347e-05/0.05249, allocations: 52 kB / 494.6 MB, free: 11.42 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.05249, allocations: 0 / 494.6 MB, free: 11.42 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.05249, allocations: 0 / 494.6 MB, free: 11.42 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008335/0.05333, allocations: 1.279 MB / 495.9 MB, free: 10.11 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004076/0.05373, allocations: 0.5227 MB / 496.4 MB, free: 9.59 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.05392, allocations: 16 kB / 496.4 MB, free: 9.574 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.05415, allocations: 20 kB / 496.4 MB, free: 9.555 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.05419, allocations: 11.22 kB / 496.4 MB, free: 9.547 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.05429, allocations: 224 kB / 496.6 MB, free: 9.328 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002519/0.05681, allocations: 2.995 MB / 499.6 MB, free: 6.926 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.71e-07/0.05681, allocations: 0 / 499.6 MB, free: 6.926 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003669/0.05718, allocations: 192.7 kB / 499.8 MB, free: 6.738 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.0002224/0.0574, allocations: 138.9 kB / 500 MB, free: 6.598 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003318/0.05773, allocations: 317.3 kB / 0.4885 GB, free: 6.27 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.05774, allocations: 0 / 0.4885 GB, free: 6.27 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.05788, allocations: 198.8 kB / 0.4887 GB, free: 6.059 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008578/0.05874, allocations: 481 kB / 0.4892 GB, free: 5.59 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005017/0.06376, allocations: 7.187 MB / 0.4962 GB, free: 14.79 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008227/0.06458, allocations: 0.9851 MB / 0.4972 GB, free: 14.16 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.00152/0.0661, allocations: 1.005 MB / 0.4982 GB, free: 13.44 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.06629, allocations: 260.5 kB / 0.4984 GB, free: 13.19 MB / 426.8 MB Notification: Performance of SimCode: time 9.21e-07/0.06629, allocations: 7.938 kB / 0.4984 GB, free: 13.18 MB / 426.8 MB Notification: Performance of Templates: time 0.03195/0.09824, allocations: 18.45 MB / 0.5164 GB, free: 10.88 MB / 442.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_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.03785632783547]