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.001526/0.001526, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001724/0.001724, allocations: 161.7 kB / 24.27 MB, free: 176 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 1.471/1.471, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.9544/0.9544, allocations: 88.08 MB / 349.1 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|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|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 450.8 MB, free: 33.15 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.926e-05, allocations: 5.406 kB / 450.8 MB, free: 33.15 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002077/0.002106, allocations: 1.431 MB / 452.2 MB, free: 32.17 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008769/0.002983, allocations: 0.5535 MB / 452.8 MB, free: 31.81 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.654e-05/0.003039, allocations: 2.844 kB / 452.8 MB, free: 31.81 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.0034, allocations: 447.4 kB / 453.2 MB, free: 31.73 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004825/0.003882, allocations: 0.492 MB / 453.7 MB, free: 31.63 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.004143, allocations: 81.03 kB / 453.8 MB, free: 31.59 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006834/0.004826, allocations: 1.126 MB / 454.9 MB, free: 31.38 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.549e-05/0.004862, allocations: 6.25 kB / 454.9 MB, free: 31.38 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005643/0.005426, allocations: 0.6349 MB / 455.6 MB, free: 31.23 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007406/0.006166, allocations: 1.153 MB / 456.7 MB, free: 31.07 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.006286, allocations: 65.62 kB / 456.8 MB, free: 31.07 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.006486, allocations: 137.4 kB / 456.9 MB, free: 31.05 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002022/0.008508, allocations: 2.627 MB / 459.6 MB, free: 30.23 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0005029/0.009011, allocations: 0.6028 MB / 460.2 MB, free: 29.89 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.01067, allocations: 2.856 MB / 463 MB, free: 28.8 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.01067, allocations: 0 / 463 MB, free: 28.8 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01067, allocations: 0 / 463 MB, free: 28.8 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.536e-05/0.01072, allocations: 0 / 463 MB, free: 28.8 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.004185/0.0149, allocations: 5.246 MB / 468.3 MB, free: 25.12 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.01494, allocations: 7.875 kB / 468.3 MB, free: 25.12 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000541/0.01548, allocations: 0.5901 MB / 468.9 MB, free: 24.78 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008283/0.02377, allocations: 6.267 MB / 475.1 MB, free: 22.15 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.02379, allocations: 1.656 kB / 475.1 MB, free: 22.15 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.205e-05/0.02385, allocations: 18.03 kB / 475.1 MB, free: 22.15 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004265/0.02428, allocations: 268.1 kB / 475.4 MB, free: 22.08 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.02429, allocations: 192 / 475.4 MB, free: 22.08 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.329e-05/0.02434, allocations: 16.81 kB / 475.4 MB, free: 22.08 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.02435, allocations: 5.188 kB / 475.4 MB, free: 22.08 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002745/0.02462, allocations: 158.3 kB / 475.6 MB, free: 22.04 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002698/0.02732, allocations: 1.774 MB / 477.4 MB, free: 21.36 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.02753, allocations: 129 kB / 477.5 MB, free: 21.29 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.02772, allocations: 114.3 kB / 477.6 MB, free: 21.25 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.02773, allocations: 5.359 kB / 477.6 MB, free: 21.24 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000357/0.02809, allocations: 296.4 kB / 477.9 MB, free: 21.11 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 1.163e-06/0.02809, allocations: 0 / 477.9 MB, free: 21.11 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.002102/0.03019, allocations: 1.278 MB / 479.2 MB, free: 20.61 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.03023, allocations: 83.8 kB / 479.3 MB, free: 20.51 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007325/0.03756, allocations: 6.274 MB / 485.5 MB, free: 18.9 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.772e-05/0.03765, allocations: 46.39 kB / 485.6 MB, free: 18.87 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0016/0.03925, allocations: 2.518 MB / 488.1 MB, free: 16.9 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.049e-05/0.03934, allocations: 39.11 kB / 488.1 MB, free: 16.88 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.03955, allocations: 133.5 kB / 488.3 MB, free: 16.86 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.824e-05/0.0396, allocations: 307.4 kB / 488.6 MB, free: 16.55 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.03976, allocations: 114 kB / 488.7 MB, free: 16.51 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.0399, allocations: 109.9 kB / 488.8 MB, free: 16.47 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.04022, allocations: 230 kB / 489 MB, free: 16.34 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.04022, allocations: 0 / 489 MB, free: 16.34 MB / 410.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001393/0.04161, allocations: 1.179 MB / 490.2 MB, free: 15.14 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.04165, allocations: 36.98 kB / 490.2 MB, free: 15.11 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.04165, allocations: 0 / 490.2 MB, free: 15.11 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.04167, allocations: 0 / 490.2 MB, free: 15.11 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/0.04174, allocations: 15.88 kB / 490.2 MB, free: 15.09 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.04175, allocations: 0 / 490.2 MB, free: 15.09 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005904/0.04234, allocations: 27.28 kB / 490.3 MB, free: 15.07 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.04251, allocations: 220 kB / 490.5 MB, free: 14.85 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.001365/0.04388, allocations: 1.342 MB / 491.8 MB, free: 13.77 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004371/0.04431, allocations: 0.621 MB / 492.4 MB, free: 13.14 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005089/0.04482, allocations: 0.6464 MB / 493.1 MB, free: 12.59 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.04483, allocations: 0 / 493.1 MB, free: 12.59 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.04483, allocations: 3.938 kB / 493.1 MB, free: 12.58 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.04483, allocations: 3.469 kB / 493.1 MB, free: 12.58 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.0464, allocations: 1.934 MB / 495 MB, free: 10.99 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.04641, allocations: 0 / 495 MB, free: 10.99 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.04643, allocations: 4.656 kB / 495 MB, free: 10.98 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.04644, allocations: 0.7969 kB / 495 MB, free: 10.98 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-05/0.04649, allocations: 52 kB / 495.1 MB, free: 10.93 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.04649, allocations: 0.7969 kB / 495.1 MB, free: 10.93 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.0465, allocations: 0 / 495.1 MB, free: 10.93 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.0475, allocations: 1.258 MB / 496.3 MB, free: 9.652 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005456/0.04804, allocations: 0.5145 MB / 496.9 MB, free: 9.137 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/0.04829, allocations: 16.61 kB / 496.9 MB, free: 9.121 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/0.04865, allocations: 28.7 kB / 496.9 MB, free: 9.094 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.04869, allocations: 5.203 kB / 496.9 MB, free: 9.09 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/0.04883, allocations: 224.8 kB / 497.1 MB, free: 8.871 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.005086/0.05391, allocations: 4.326 MB / 0.4897 GB, free: 5.414 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.05391, allocations: 0 / 0.4897 GB, free: 5.414 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0006841/0.0546, allocations: 188.7 kB / 0.4899 GB, free: 5.23 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.0002539/0.05485, allocations: 139 kB / 0.49 GB, free: 5.09 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004701/0.05532, allocations: 316.7 kB / 0.4903 GB, free: 4.766 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.05532, allocations: 0 / 0.4903 GB, free: 4.766 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.05553, allocations: 198.5 kB / 0.4905 GB, free: 4.559 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.05675, allocations: 479.3 kB / 0.491 GB, free: 4.09 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.06853, allocations: 8.751 MB / 0.4995 GB, free: 11.74 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002806/0.07133, allocations: 2.2 MB / 0.5016 GB, free: 9.512 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002522/0.07385, allocations: 1.137 MB / 0.5028 GB, free: 8.367 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003551/0.07421, allocations: 260.5 kB / 0.503 GB, free: 8.113 MB / 426.8 MB Notification: Performance of SimCode: time 1.533e-06/0.07421, allocations: 0 / 0.503 GB, free: 8.113 MB / 426.8 MB Notification: Performance of Templates: time 0.05287/0.1271, allocations: 20.52 MB / 0.523 GB, free: 3.488 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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) [Timeout 300] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.112510637030937]