Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.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.0009151/0.0009151, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001015/0.001015, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.023/1.023, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.05155/0.05155, allocations: 13.1 MB / 273.4 MB, free: 224 kB / 250.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 6.453 kB / 294.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.787e-05, allocations: 2.312 kB / 294.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001278/0.001296, allocations: 0.524 MB / 295 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002418/0.001537, allocations: 112.1 kB / 295.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.294e-05/0.00156, allocations: 0 / 295.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.2e-05/0.001572, allocations: 6.312 kB / 295.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.001771, allocations: 20.92 kB / 295.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.605e-06/0.001774, allocations: 0.9375 kB / 295.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 2.583e-05/0.001799, allocations: 2.344 kB / 295.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.539e-05/0.001835, allocations: 4.094 kB / 295.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.977e-05/0.001854, allocations: 5.047 kB / 295.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.304e-05/0.001948, allocations: 8.703 kB / 295.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.059e-06/0.001953, allocations: 0 / 295.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.635e-06/0.001955, allocations: 1.062 kB / 295.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.441e-06/0.001961, allocations: 0 / 295.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.404e-06/0.001968, allocations: 5.062 kB / 295.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 3.376e-05/0.002002, allocations: 1.375 kB / 295.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.002004, allocations: 1.156 kB / 295.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.002004, allocations: 1.688 kB / 295.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.002008, allocations: 0 / 295.1 MB, free: 11.57 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001401/0.002148, allocations: 217.1 kB / 295.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.002182, allocations: 9.875 kB / 295.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.007e-05/0.002202, allocations: 3.344 kB / 295.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.783e-05/0.00224, allocations: 113.9 kB / 295.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.00225, allocations: 1.719 kB / 295.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-06/0.002254, allocations: 1.594 kB / 295.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.503e-05/0.002309, allocations: 45.27 kB / 295.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-06/0.002315, allocations: 1.219 kB / 295.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.759e-06/0.00232, allocations: 1.5 kB / 295.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.002326, allocations: 1.438 kB / 295.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.084e-05/0.002336, allocations: 7.875 kB / 295.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.002471, allocations: 376.7 kB / 295.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.898e-05/0.0025, allocations: 173.1 kB / 296.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.885e-06/0.002508, allocations: 81.55 kB / 296.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.002515, allocations: 75.28 kB / 296.2 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.002534, allocations: 107.8 kB / 296.3 MB, free: 10.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.002535, allocations: 1.562 kB / 296.3 MB, free: 10.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.226e-05/0.002577, allocations: 42.38 kB / 296.4 MB, free: 10.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.002598, allocations: 128.1 kB / 296.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.95e-05/0.002638, allocations: 102.8 kB / 296.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-06/0.002641, allocations: 27.08 kB / 296.6 MB, free: 10 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.228e-05/0.002663, allocations: 86.23 kB / 296.7 MB, free: 9.918 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-06/0.002664, allocations: 0 / 296.7 MB, free: 9.918 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.822e-05/0.002683, allocations: 13.59 kB / 296.7 MB, free: 9.902 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.496e-05/0.002708, allocations: 312.8 kB / 297 MB, free: 9.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.848e-06/0.002711, allocations: 0.9688 kB / 297 MB, free: 9.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.07e-05/0.002722, allocations: 21.08 kB / 297 MB, free: 9.566 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.269e-05/0.002745, allocations: 22.23 kB / 297.1 MB, free: 9.543 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.002747, allocations: 1.141 kB / 297.1 MB, free: 9.543 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.338e-05/0.0028, allocations: 38.86 kB / 297.1 MB, free: 9.508 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.002812, allocations: 6.047 kB / 297.1 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.002817, allocations: 1.156 kB / 297.1 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.002827, allocations: 3.938 kB / 297.1 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.604e-05/0.002863, allocations: 8.109 kB / 297.1 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.002866, allocations: 1.781 kB / 297.1 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.759e-06/0.002876, allocations: 5.938 kB / 297.1 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.00288, allocations: 1.219 kB / 297.1 MB, free: 9.496 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 3.046e-05/0.002911, allocations: 183.1 kB / 297.3 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.002931, allocations: 102.9 kB / 297.4 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.002956, allocations: 115.5 kB / 297.5 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.002972, allocations: 182.1 kB / 297.7 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.002985, allocations: 178.7 kB / 297.9 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.003001, allocations: 186.1 kB / 298.1 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.253e-05/0.003074, allocations: 323.4 kB / 298.4 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.003084, allocations: 106.2 kB / 298.5 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.237e-06/0.003093, allocations: 106.9 kB / 298.6 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/0.003106, allocations: 178.8 kB / 298.8 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.003122, allocations: 182.2 kB / 298.9 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.4e-05/0.003136, allocations: 178.3 kB / 299.1 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.57e-05/0.003152, allocations: 186.3 kB / 299.3 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.417e-05/0.003196, allocations: 305.8 kB / 299.6 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.562e-05/0.003211, allocations: 111.6 kB / 299.7 MB, free: 6.828 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.003231, allocations: 180.2 kB / 299.9 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.133e-05/0.003262, allocations: 106.9 kB / 300 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.00328, allocations: 178.3 kB / 300.1 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.003291, allocations: 110.5 kB / 300.3 MB, free: 6.246 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.147e-06/0.0033, allocations: 10.42 kB / 300.3 MB, free: 6.234 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0033, allocations: 0 / 300.3 MB, free: 6.234 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001141/0.003414, allocations: 1.219 kB / 300.3 MB, free: 6.234 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 6.111e-05/0.003476, allocations: 152.8 kB / 300.4 MB, free: 6.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.81e-05/0.003524, allocations: 9.25 kB / 300.4 MB, free: 6.082 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.003528, allocations: 1.312 kB / 300.4 MB, free: 6.082 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.00353, allocations: 0 / 300.4 MB, free: 6.082 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.003647, allocations: 464 kB / 300.9 MB, free: 5.629 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001097/0.003756, allocations: 161.7 kB / 301 MB, free: 5.453 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.681e-05/0.003773, allocations: 56.33 kB / 301.1 MB, free: 5.379 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.529e-05/0.003788, allocations: 0.5625 kB / 301.1 MB, free: 5.379 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/0.003806, allocations: 52.83 kB / 301.1 MB, free: 5.332 MB / 266.7 MB Notification: Performance of SimCode: time 5.2e-07/0.003807, allocations: 0 / 301.1 MB, free: 5.332 MB / 266.7 MB Notification: Performance of Templates: time 0.001335/0.005142, allocations: 214.8 kB / 301.4 MB, free: 5.289 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.705439321231097]