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.0007811/0.0007811, allocations: 92.31 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008621/0.0008621, allocations: 181.5 kB / 16.92 MB, free: 6.652 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.394/1.394, allocations: 205.4 MB / 223.1 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06187/0.06187, allocations: 14.16 MB / 285.6 MB, free: 7.027 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.0005371/0.0005373, allocations: 16.38 kB / 347.4 MB, free: 19.54 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08309/0.08364, allocations: 51.12 MB / 398.5 MB, free: 392 kB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.0008662/0.08455, allocations: 419.1 kB / 398.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001899/0.08475, allocations: 59.8 kB / 399 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.517e-05/0.08479, allocations: 0 / 399 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.08482, allocations: 3.984 kB / 399 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.063e-05/0.08489, allocations: 0 / 399 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.08504, allocations: 23.86 kB / 399 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.346e-05/0.08512, allocations: 19.94 kB / 399 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.234e-05/0.08521, allocations: 11.97 kB / 399.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.648e-05/0.08525, allocations: 7.938 kB / 399.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.373e-05/0.0853, allocations: 11.98 kB / 399.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.08533, allocations: 4 kB / 399.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.004e-06/0.08534, allocations: 0 / 399.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.08536, allocations: 3.984 kB / 399.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.0854, allocations: 33.64 kB / 399.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.836e-05/0.08545, allocations: 11.97 kB / 399.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.08547, allocations: 4 kB / 399.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.08547, allocations: 7.938 kB / 399.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.08548, allocations: 0 / 399.1 MB, free: 15.77 MB / 302.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.0003665/0.08586, allocations: 335.7 kB / 399.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.0859, allocations: 8.031 kB / 399.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.08593, allocations: 4.938 kB / 399.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.08607, allocations: 172.3 kB / 399.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.08609, allocations: 12.31 kB / 399.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.08611, allocations: 384 / 399.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.0863, allocations: 76.8 kB / 399.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.08631, allocations: 192 / 399.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.08633, allocations: 3.938 kB / 399.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.08634, allocations: 0 / 399.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.08653, allocations: 47.91 kB / 399.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.0869, allocations: 277.8 kB / 400.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.0871, allocations: 85.12 kB / 400.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.08721, allocations: 37.7 kB / 400.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.08724, allocations: 0 / 400.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.08727, allocations: 30.56 kB / 400.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.08727, allocations: 0 / 400.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.00038/0.08766, allocations: 113.5 kB / 400.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.08772, allocations: 102.8 kB / 400.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.235e-05/0.08779, allocations: 102 kB / 400.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.08781, allocations: 29.95 kB / 400.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.08785, allocations: 80.14 kB / 400.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.08787, allocations: 11.91 kB / 400.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.08791, allocations: 9.719 kB / 400.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.952e-05/0.088, allocations: 314.8 kB / 401 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.621e-05/0.0881, allocations: 27.97 kB / 401 MB, free: 13.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.08821, allocations: 42.59 kB / 401 MB, free: 13.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.0884, allocations: 57.72 kB / 401.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.08841, allocations: 0 / 401.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002259/0.08864, allocations: 85.53 kB / 401.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.079e-05/0.0887, allocations: 105.9 kB / 401.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.08871, allocations: 0 / 401.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.08872, allocations: 0 / 401.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.08882, allocations: 11.98 kB / 401.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.08883, allocations: 4 kB / 401.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.16e-05/0.0889, allocations: 7.984 kB / 401.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.08892, allocations: 8 kB / 401.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.183e-06/0.08893, allocations: 4 kB / 401.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001005/0.08904, allocations: 31.8 kB / 401.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-06/0.08905, allocations: 0 / 401.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-06/0.08905, allocations: 0 / 401.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.813e-05/0.0891, allocations: 8 kB / 401.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-06/0.0891, allocations: 0 / 401.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.847e-05/0.08915, allocations: 7.984 kB / 401.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-06/0.08916, allocations: 0 / 401.4 MB, free: 13.27 MB / 302.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 9.678e-05/0.08926, allocations: 208.9 kB / 401.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.0893, allocations: 7.844 kB / 401.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.232e-05/0.08932, allocations: 7.125 kB / 401.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.08933, allocations: 4 kB / 401.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.08934, allocations: 0 / 401.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.08935, allocations: 0 / 401.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.08951, allocations: 161.7 kB / 401.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.08952, allocations: 4 kB / 401.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.937e-05/0.08959, allocations: 19.92 kB / 401.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.0896, allocations: 0 / 401.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.08961, allocations: 0 / 401.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.08962, allocations: 4 kB / 401.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.08963, allocations: 0 / 401.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.08988, allocations: 176.4 kB / 401.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.08993, allocations: 88.98 kB / 402 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.08994, allocations: 0 / 402 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.848e-05/0.09004, allocations: 11.98 kB / 402 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.09008, allocations: 4 kB / 402 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.0901, allocations: 4 kB / 402 MB, free: 12.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.389e-05/0.09014, allocations: 87.27 kB / 402.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09014, allocations: 0 / 402.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.09042, allocations: 4 kB / 402.1 MB, free: 12.39 MB / 302.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 9.834e-05/0.09052, allocations: 95.25 kB / 402.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.0908, allocations: 67.95 kB / 402.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.09081, allocations: 0 / 402.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.09092, allocations: 23.98 kB / 402.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.09115, allocations: 7.938 kB / 402.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.0915, allocations: 169.4 kB / 402.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.09173, allocations: 0.6731 MB / 403.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.09177, allocations: 7.438 kB / 403.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.09177, allocations: 0 / 403.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of Templates: time 0.001694/0.09347, allocations: 0.6365 MB / 403.8 MB, free: 10.65 MB / 302.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 -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","../files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches