Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004834/0.004834, allocations: 104.5 kB / 15.74 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 190.2 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.177/0.177, allocations: 16.78 MB / 307.3 MB, free: 14.76 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 66.8 kB / 426.6 MB, free: 36.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07796/0.07915, allocations: 53.57 MB / 480.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001488/0.08067, allocations: 0.6545 MB / 480.8 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001789/0.08086, allocations: 68.34 kB / 480.9 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.912e-05/0.0809, allocations: 0 / 480.9 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.007e-05/0.08093, allocations: 0 / 480.9 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.411e-05/0.081, allocations: 4.906 kB / 480.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001154/0.08112, allocations: 15.45 kB / 480.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.868e-05/0.0812, allocations: 25.36 kB / 480.9 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.769e-05/0.08128, allocations: 11.81 kB / 480.9 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.259e-05/0.08131, allocations: 14.69 kB / 480.9 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.688e-05/0.08136, allocations: 11.81 kB / 481 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.08137, allocations: 1.375 kB / 481 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.862e-06/0.08139, allocations: 2.156 kB / 481 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.0814, allocations: 8.984 kB / 481 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.08143, allocations: 10.62 kB / 481 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.503e-05/0.08149, allocations: 16.2 kB / 481 MB, free: 9.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.0815, allocations: 0 / 481 MB, free: 9.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.0815, allocations: 3.938 kB / 481 MB, free: 9.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.08151, allocations: 0 / 481 MB, free: 9.758 MB / 350.1 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.0002795/0.08179, allocations: 340.6 kB / 481.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.08183, allocations: 8.656 kB / 481.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.558e-05/0.08186, allocations: 10.34 kB / 481.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.817e-05/0.08196, allocations: 175.7 kB / 481.5 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.08198, allocations: 1.438 kB / 481.5 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.082, allocations: 1.5 kB / 481.5 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.08215, allocations: 76.66 kB / 481.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.08216, allocations: 192 / 481.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.08218, allocations: 3.938 kB / 481.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.08219, allocations: 0.9688 kB / 481.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.08233, allocations: 40.77 kB / 481.6 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.08258, allocations: 269.9 kB / 481.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.08273, allocations: 68.78 kB / 482 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.849e-05/0.08281, allocations: 34.22 kB / 482 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.08284, allocations: 5.125 kB / 482 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.08286, allocations: 32.62 kB / 482 MB, free: 8.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.08287, allocations: 0 / 482 MB, free: 8.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002983/0.08317, allocations: 94.11 kB / 482.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.08321, allocations: 108.1 kB / 482.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.076e-05/0.08325, allocations: 98.02 kB / 482.3 MB, free: 8.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.08327, allocations: 27.11 kB / 482.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.054e-05/0.08329, allocations: 80.14 kB / 482.4 MB, free: 8.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.08331, allocations: 13.95 kB / 482.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.08334, allocations: 16.5 kB / 482.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.427e-05/0.08338, allocations: 312.1 kB / 482.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.361e-05/0.08346, allocations: 27.16 kB / 482.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.019e-05/0.08354, allocations: 42.64 kB / 482.8 MB, free: 7.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.08367, allocations: 42.94 kB / 482.9 MB, free: 7.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.08367, allocations: 4.031 kB / 482.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001664/0.08385, allocations: 76.31 kB / 483 MB, free: 7.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.08386, allocations: 9.062 kB / 483 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.08387, allocations: 0 / 483 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.08389, allocations: 0 / 483 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.173e-05/0.08396, allocations: 10.97 kB / 483 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.08397, allocations: 3.984 kB / 483 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.385e-05/0.08402, allocations: 10.59 kB / 483 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.08403, allocations: 4.75 kB / 483 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.731e-05/0.08409, allocations: 91.94 kB / 483.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.469e-05/0.08413, allocations: 21.14 kB / 483.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.948e-05/0.08419, allocations: 32.64 kB / 483.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.81e-07/0.0842, allocations: 7.969 kB / 483.2 MB, free: 7.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 9.691e-05/0.0843, allocations: 50.56 kB / 483.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.111e-06/0.08432, allocations: 5.656 kB / 483.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-06/0.08432, allocations: 1.031 kB / 483.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-06/0.08433, allocations: 384 / 483.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.277e-05/0.08436, allocations: 13.05 kB / 483.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-06/0.08437, allocations: 1.031 kB / 483.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.35e-05/0.08441, allocations: 7.531 kB / 483.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-06/0.08442, allocations: 5.281 kB / 483.2 MB, free: 7.523 MB / 350.1 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 3.79e-05/0.08446, allocations: 182.6 kB / 483.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.08449, allocations: 6.312 kB / 483.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.677e-05/0.08451, allocations: 15.09 kB / 483.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.08452, allocations: 1.25 kB / 483.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.08452, allocations: 5.156 kB / 483.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.08453, allocations: 0 / 483.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.08464, allocations: 163.3 kB / 483.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.08464, allocations: 1.062 kB / 483.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.087e-05/0.0847, allocations: 15.02 kB / 483.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.08471, allocations: 1.469 kB / 483.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.08472, allocations: 1.156 kB / 483.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.08472, allocations: 0 / 483.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.08473, allocations: 1.219 kB / 483.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.0849, allocations: 178.3 kB / 483.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.08493, allocations: 78.45 kB / 483.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.08494, allocations: 5.328 kB / 483.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.978e-05/0.08502, allocations: 5.844 kB / 483.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.08506, allocations: 10.23 kB / 483.9 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.08507, allocations: 1.125 kB / 483.9 MB, free: 6.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.751e-05/0.08509, allocations: 77.59 kB / 484 MB, free: 6.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0851, allocations: 1.219 kB / 484 MB, free: 6.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.08536, allocations: 9.719 kB / 484 MB, free: 6.754 MB / 350.1 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 5.92e-05/0.08542, allocations: 98.56 kB / 484.1 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002185/0.08565, allocations: 51.77 kB / 484.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.08566, allocations: 1.469 kB / 484.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.085e-05/0.08574, allocations: 33.25 kB / 484.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.08595, allocations: 6.906 kB / 484.2 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.08619, allocations: 120.3 kB / 484.3 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.26e-05/0.08629, allocations: 0.6731 MB / 485 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.455e-05/0.08633, allocations: 9.453 kB / 485 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.08636, allocations: 10.06 kB / 485 MB, free: 5.781 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.08636, allocations: 0 / 485 MB, free: 5.781 MB / 350.1 MB Notification: Performance of Templates: time 0.002127/0.08849, allocations: 0.6221 MB / 485.6 MB, free: 5.465 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches