Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.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.00184/0.00184, allocations: 85.48 kB / 19.44 MB, free: 348 kB / 13.93 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.002047/0.002047, allocations: 177.2 kB / 22.76 MB, free: 1.664 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.562/1.562, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.08994/0.08994, allocations: 12.72 MB / 272.3 MB, free: 0.75 MB / 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.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand") translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 346 MB, free: 2.309 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.979e-05, allocations: 2.312 kB / 346 MB, free: 2.305 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001431/0.001451, allocations: 0.6741 MB / 346.7 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002109/0.001662, allocations: 59.75 kB / 346.7 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.001696, allocations: 0 / 346.7 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.001716, allocations: 3.938 kB / 346.7 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.774e-05/0.001794, allocations: 4 kB / 346.7 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.001914, allocations: 23.91 kB / 346.7 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.088e-05/0.001995, allocations: 23.92 kB / 346.8 MB, free: 1.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.982e-05/0.002065, allocations: 7.984 kB / 346.8 MB, free: 1.512 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.731e-05/0.002112, allocations: 15.94 kB / 346.8 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.67e-05/0.002159, allocations: 7.984 kB / 346.8 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.002176, allocations: 8 kB / 346.8 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.606e-06/0.002185, allocations: 0 / 346.8 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.0022, allocations: 11.98 kB / 346.8 MB, free: 1.469 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.948e-05/0.002219, allocations: 7.938 kB / 346.8 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.683e-05/0.002286, allocations: 23.95 kB / 346.8 MB, free: 1.438 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.002288, allocations: 0 / 346.8 MB, free: 1.438 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.002289, allocations: 0 / 346.8 MB, free: 1.438 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.805e-06/0.002291, allocations: 0 / 346.8 MB, free: 1.438 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003111/0.002603, allocations: 352.4 kB / 347.2 MB, free: 1.055 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.002633, allocations: 12.03 kB / 347.2 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.002674, allocations: 4.891 kB / 347.2 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.002776, allocations: 124.5 kB / 347.3 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.002787, allocations: 4.375 kB / 347.3 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.002796, allocations: 4.375 kB / 347.3 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.002946, allocations: 107 kB / 347.4 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.002955, allocations: 192 / 347.4 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.002964, allocations: 384 / 347.4 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.002968, allocations: 384 / 347.4 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.003089, allocations: 31.86 kB / 347.5 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002523/0.003341, allocations: 267.6 kB / 347.7 MB, free: 432 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.003478, allocations: 82.11 kB / 347.8 MB, free: 324 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.777e-05/0.003546, allocations: 31.42 kB / 347.8 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.003567, allocations: 4 kB / 347.8 MB, free: 280 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.003584, allocations: 37.38 kB / 347.9 MB, free: 232 kB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.003584, allocations: 0 / 347.9 MB, free: 232 kB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002783/0.003863, allocations: 85.48 kB / 348 MB, free: 140 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.003887, allocations: 111.1 kB / 348.1 MB, free: 4 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.004033, allocations: 161.9 kB / 348.2 MB, free: 15.83 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.004053, allocations: 25.7 kB / 348.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.272e-05/0.004136, allocations: 130.9 kB / 348.4 MB, free: 15.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.00416, allocations: 11.91 kB / 348.4 MB, free: 15.65 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.004207, allocations: 23.38 kB / 348.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002761/0.004483, allocations: 492.1 kB / 348.9 MB, free: 15.13 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-05/0.004568, allocations: 27.67 kB / 348.9 MB, free: 15.1 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.004677, allocations: 64.69 kB / 349 MB, free: 15.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.004819, allocations: 51.39 kB / 349 MB, free: 14.96 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.00482, allocations: 0 / 349 MB, free: 14.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001875/0.005008, allocations: 65.61 kB / 349.1 MB, free: 14.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.005022, allocations: 8 kB / 349.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.005028, allocations: 3.938 kB / 349.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.00504, allocations: 0 / 349.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.113e-05/0.005121, allocations: 11.98 kB / 349.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.005126, allocations: 0 / 349.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.005173, allocations: 8.062 kB / 349.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.005181, allocations: 4 kB / 349.1 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001192/0.005301, allocations: 134.9 kB / 349.3 MB, free: 14.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.605e-05/0.005377, allocations: 60.77 kB / 349.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.331e-05/0.00546, allocations: 39.3 kB / 349.4 MB, free: 14.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.32e-07/0.005461, allocations: 0 / 349.4 MB, free: 14.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001247/0.005585, allocations: 57.58 kB / 349.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/0.005594, allocations: 6.5 kB / 349.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-06/0.005595, allocations: 4.094 kB / 349.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.077e-06/0.005599, allocations: 7.938 kB / 349.4 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.513e-05/0.005634, allocations: 4 kB / 349.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-06/0.005636, allocations: 0 / 349.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.096e-05/0.005677, allocations: 7.984 kB / 349.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-06/0.005679, allocations: 0 / 349.5 MB, free: 14.5 MB / 282.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 (3): * Single equations (assignments): 3 * 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 0.0001624/0.005842, allocations: 268.1 kB / 349.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.005866, allocations: 0 / 349.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.005895, allocations: 19.2 kB / 349.7 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.005896, allocations: 0 / 349.7 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.0059, allocations: 8.312 kB / 349.7 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.005902, allocations: 0 / 349.7 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.006071, allocations: 124.6 kB / 349.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006072, allocations: 0 / 349.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.435e-05/0.006126, allocations: 8 kB / 349.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.006134, allocations: 7.969 kB / 349.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.00614, allocations: 0 / 349.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.006146, allocations: 7.875 kB / 349.9 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.006147, allocations: 0 / 349.9 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.006417, allocations: 219.6 kB / 350.1 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.006427, allocations: 7.953 kB / 350.1 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.006439, allocations: 0 / 350.1 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.006511, allocations: 7.938 kB / 350.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.006556, allocations: 11.98 kB / 350.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.006559, allocations: 0 / 350.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.336e-05/0.006633, allocations: 123.2 kB / 350.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.006633, allocations: 0 / 350.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002634/0.006896, allocations: 12 kB / 350.3 MB, free: 13.63 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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 0.0001055/0.007002, allocations: 99.17 kB / 350.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000256/0.007258, allocations: 63.34 kB / 350.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.007259, allocations: 0 / 350.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.572e-05/0.007345, allocations: 31.61 kB / 350.5 MB, free: 13.42 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.007555, allocations: 8 kB / 350.5 MB, free: 13.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.007878, allocations: 126 kB / 350.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.85e-05/0.007956, allocations: 59.72 kB / 350.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.634e-05/0.008003, allocations: 11.86 kB / 350.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.619e-05/0.008049, allocations: 12.5 kB / 350.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.008049, allocations: 0 / 350.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of Templates: time 0.003451/0.0115, allocations: 0.7026 MB / 351.4 MB, free: 12.45 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.520447441958822]