Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDeadBand.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDeadBand") translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 108.1 kB / 16.37 MB, free: 6.477 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.001822/0.001822, allocations: 193.1 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06506/0.06506, allocations: 14.17 MB / 284.7 MB, free: 13.88 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 71.95 kB / 346.5 MB, free: 15.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2229, allocations: 50.12 MB / 396.6 MB, free: 48.06 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001705/0.2247, allocations: 0.6824 MB / 397.3 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001944/0.2249, allocations: 63.69 kB / 397.4 MB, free: 47.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.2249, allocations: 0 / 397.4 MB, free: 47.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.2249, allocations: 0 / 397.4 MB, free: 47.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.945e-05/0.225, allocations: 5.219 kB / 397.4 MB, free: 47.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000126/0.2252, allocations: 19.64 kB / 397.4 MB, free: 47.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.014e-05/0.2252, allocations: 26.77 kB / 397.4 MB, free: 47.46 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.747e-05/0.2253, allocations: 10.23 kB / 397.5 MB, free: 47.46 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.567e-05/0.2254, allocations: 16.36 kB / 397.5 MB, free: 47.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.114e-05/0.2254, allocations: 11.89 kB / 397.5 MB, free: 47.44 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.2254, allocations: 6.25 kB / 397.5 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.696e-06/0.2255, allocations: 2.406 kB / 397.5 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.2255, allocations: 5.016 kB / 397.5 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.2255, allocations: 8.906 kB / 397.5 MB, free: 47.42 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.379e-05/0.2256, allocations: 17.31 kB / 397.5 MB, free: 47.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2256, allocations: 4 kB / 397.5 MB, free: 47.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2256, allocations: 0 / 397.5 MB, free: 47.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.2256, allocations: 5 kB / 397.5 MB, free: 47.4 MB / 318.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.0003071/0.2259, allocations: 329.1 kB / 397.8 MB, free: 47.04 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.226, allocations: 9.219 kB / 397.9 MB, free: 47.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.226, allocations: 7.125 kB / 397.9 MB, free: 47.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.2261, allocations: 175 kB / 398 MB, free: 46.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.2261, allocations: 5.375 kB / 398 MB, free: 46.83 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.2261, allocations: 5.5 kB / 398 MB, free: 46.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.2263, allocations: 76.48 kB / 398.1 MB, free: 46.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.2263, allocations: 192 / 398.1 MB, free: 46.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.2263, allocations: 4.938 kB / 398.1 MB, free: 46.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2263, allocations: 1.125 kB / 398.1 MB, free: 46.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.2265, allocations: 36.5 kB / 398.2 MB, free: 46.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002644/0.2268, allocations: 274.2 kB / 398.4 MB, free: 46.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.2269, allocations: 70.28 kB / 398.5 MB, free: 46.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.289e-05/0.227, allocations: 38.98 kB / 398.5 MB, free: 46.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.227, allocations: 1.094 kB / 398.5 MB, free: 46.33 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.28e-05/0.227, allocations: 31.72 kB / 398.6 MB, free: 46.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.2271, allocations: 0 / 398.6 MB, free: 46.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.000312/0.2274, allocations: 95.39 kB / 398.7 MB, free: 46.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.2274, allocations: 108.5 kB / 398.8 MB, free: 46.1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.418e-05/0.2275, allocations: 98.31 kB / 398.9 MB, free: 46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.2275, allocations: 29.64 kB / 398.9 MB, free: 45.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.343e-05/0.2275, allocations: 89.36 kB / 399 MB, free: 45.87 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.2275, allocations: 9.047 kB / 399 MB, free: 45.87 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.2276, allocations: 12.62 kB / 399 MB, free: 45.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.48e-05/0.2276, allocations: 323.8 kB / 399.3 MB, free: 45.53 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.2277, allocations: 24.53 kB / 399.3 MB, free: 45.51 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.67e-05/0.2278, allocations: 34.88 kB / 399.4 MB, free: 45.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.2279, allocations: 54.61 kB / 399.4 MB, free: 45.44 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2279, allocations: 1 kB / 399.4 MB, free: 45.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001819/0.2281, allocations: 72.61 kB / 399.5 MB, free: 45.39 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.2281, allocations: 6.594 kB / 399.5 MB, free: 45.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.2281, allocations: 0 / 399.5 MB, free: 45.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2282, allocations: 5.531 kB / 399.5 MB, free: 45.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.311e-05/0.2283, allocations: 11.64 kB / 399.5 MB, free: 45.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.2283, allocations: 0 / 399.5 MB, free: 45.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.236e-05/0.2283, allocations: 9.016 kB / 399.5 MB, free: 45.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.2283, allocations: 1.156 kB / 399.5 MB, free: 45.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.184e-05/0.2284, allocations: 89.36 kB / 399.6 MB, free: 45.29 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.895e-05/0.2284, allocations: 28.91 kB / 399.7 MB, free: 45.26 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.715e-05/0.2285, allocations: 36.8 kB / 399.7 MB, free: 45.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.72e-07/0.2285, allocations: 0 / 399.7 MB, free: 45.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001086/0.2286, allocations: 61.38 kB / 399.7 MB, free: 45.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.603e-06/0.2286, allocations: 5.531 kB / 399.8 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.2287, allocations: 4.922 kB / 399.8 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-06/0.2287, allocations: 1.062 kB / 399.8 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.563e-05/0.2287, allocations: 8.844 kB / 399.8 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.2287, allocations: 1.062 kB / 399.8 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.74e-05/0.2287, allocations: 7.266 kB / 399.8 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-06/0.2288, allocations: 1.219 kB / 399.8 MB, free: 45.17 MB / 318.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 4.296e-05/0.2288, allocations: 187.4 kB / 400 MB, free: 44.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.2288, allocations: 1.938 kB / 400 MB, free: 44.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.843e-05/0.2289, allocations: 8.234 kB / 400 MB, free: 44.97 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2289, allocations: 1.062 kB / 400 MB, free: 44.97 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2289, allocations: 4 kB / 400 MB, free: 44.97 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2289, allocations: 1.219 kB / 400 MB, free: 44.97 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.229, allocations: 167.4 kB / 400.1 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.229, allocations: 0 / 400.1 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.02e-05/0.2291, allocations: 12.52 kB / 400.2 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2291, allocations: 0 / 400.2 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.2291, allocations: 1.062 kB / 400.2 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2291, allocations: 9.156 kB / 400.2 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2291, allocations: 1.031 kB / 400.2 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.2293, allocations: 179 kB / 400.3 MB, free: 44.58 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.625e-05/0.2293, allocations: 78.14 kB / 400.4 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.2293, allocations: 1.531 kB / 400.4 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.77e-05/0.2294, allocations: 9.141 kB / 400.4 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.2295, allocations: 6.531 kB / 400.4 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.2295, allocations: 9.359 kB / 400.4 MB, free: 44.47 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.942e-05/0.2295, allocations: 77.78 kB / 400.5 MB, free: 44.4 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2295, allocations: 0 / 400.5 MB, free: 44.4 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.2298, allocations: 11 kB / 400.5 MB, free: 44.39 MB / 318.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 6.434e-05/0.2298, allocations: 104.3 kB / 400.6 MB, free: 44.3 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.2301, allocations: 53.11 kB / 400.7 MB, free: 44.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2301, allocations: 3.938 kB / 400.7 MB, free: 44.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.947e-05/0.2302, allocations: 26.2 kB / 400.7 MB, free: 44.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.2304, allocations: 10.22 kB / 400.7 MB, free: 44.26 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002727/0.2307, allocations: 120.8 kB / 400.8 MB, free: 44.13 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.974e-05/0.2308, allocations: 0.678 MB / 401.5 MB, free: 43.43 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.999e-05/0.2308, allocations: 5.266 kB / 401.5 MB, free: 43.43 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.2309, allocations: 10.06 kB / 401.5 MB, free: 43.42 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2309, allocations: 4 kB / 401.5 MB, free: 43.42 MB / 318.1 MB Notification: Performance of Templates: time 0.002308/0.2332, allocations: 0.634 MB / 402.2 MB, free: 43.1 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches