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.002031/0.002032, allocations: 111.5 kB / 16.37 MB, free: 6.004 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.00154/0.00154, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.56/1.56, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.09494/0.09494, 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.001502/0.001502, allocations: 71.91 kB / 346.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2955, allocations: 50.12 MB / 396.6 MB, free: 48.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002172/0.2977, allocations: 0.6819 MB / 397.3 MB, free: 47.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002691/0.298, allocations: 59.78 kB / 397.4 MB, free: 47.51 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.972e-05/0.298, allocations: 0 / 397.4 MB, free: 47.51 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.579e-05/0.2981, allocations: 1.562 kB / 397.4 MB, free: 47.51 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.2982, allocations: 3.938 kB / 397.4 MB, free: 47.51 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.2984, allocations: 23.45 kB / 397.4 MB, free: 47.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.495e-05/0.2985, allocations: 26.17 kB / 397.4 MB, free: 47.47 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.2986, allocations: 3.219 kB / 397.4 MB, free: 47.47 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.185e-05/0.2987, allocations: 16.8 kB / 397.5 MB, free: 47.46 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.275e-05/0.2987, allocations: 11.95 kB / 397.5 MB, free: 47.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.2988, allocations: 2.719 kB / 397.5 MB, free: 47.45 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/0.2988, allocations: 1.281 kB / 397.5 MB, free: 47.45 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.2988, allocations: 17.47 kB / 397.5 MB, free: 47.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.2988, allocations: 5.281 kB / 397.5 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.977e-05/0.2989, allocations: 28.28 kB / 397.5 MB, free: 47.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.299, allocations: 4 kB / 397.5 MB, free: 47.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.299, allocations: 1.344 kB / 397.5 MB, free: 47.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.299, allocations: 0 / 397.5 MB, free: 47.41 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.0003971/0.2994, allocations: 329.2 kB / 397.9 MB, free: 47.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.2994, allocations: 9.406 kB / 397.9 MB, free: 47.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.2995, allocations: 7 kB / 397.9 MB, free: 47.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.2996, allocations: 166.6 kB / 398 MB, free: 46.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.2996, allocations: 1.469 kB / 398 MB, free: 46.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.2997, allocations: 5.5 kB / 398 MB, free: 46.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.2999, allocations: 80.98 kB / 398.1 MB, free: 46.76 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2999, allocations: 4.125 kB / 398.1 MB, free: 46.76 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.2999, allocations: 5 kB / 398.1 MB, free: 46.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.2999, allocations: 4 kB / 398.1 MB, free: 46.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.3001, allocations: 33.34 kB / 398.2 MB, free: 46.74 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.3004, allocations: 270.3 kB / 398.4 MB, free: 46.44 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.3006, allocations: 74.47 kB / 398.5 MB, free: 46.37 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.395e-05/0.3007, allocations: 34.89 kB / 398.5 MB, free: 46.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.3007, allocations: 5.375 kB / 398.5 MB, free: 46.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.3008, allocations: 31.91 kB / 398.6 MB, free: 46.3 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.3008, allocations: 0 / 398.6 MB, free: 46.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003862/0.3012, allocations: 95.05 kB / 398.7 MB, free: 46.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.3012, allocations: 103.9 kB / 398.8 MB, free: 46.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.013e-05/0.3013, allocations: 101.5 kB / 398.9 MB, free: 46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.3013, allocations: 31.02 kB / 398.9 MB, free: 45.97 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.693e-05/0.3014, allocations: 85.3 kB / 399 MB, free: 45.88 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.3014, allocations: 12.75 kB / 399 MB, free: 45.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.3015, allocations: 17 kB / 399 MB, free: 45.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.276e-05/0.3015, allocations: 315.8 kB / 399.3 MB, free: 45.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.92e-05/0.3016, allocations: 27.8 kB / 399.3 MB, free: 45.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-05/0.3017, allocations: 34.94 kB / 399.4 MB, free: 45.49 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.3019, allocations: 48.12 kB / 399.4 MB, free: 45.46 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3019, allocations: 0 / 399.4 MB, free: 45.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001828/0.3021, allocations: 77.34 kB / 399.5 MB, free: 45.4 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3021, allocations: 6.812 kB / 399.5 MB, free: 45.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3021, allocations: 1.062 kB / 399.5 MB, free: 45.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.3022, allocations: 5.156 kB / 399.5 MB, free: 45.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.684e-05/0.3023, allocations: 11.86 kB / 399.5 MB, free: 45.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.3023, allocations: 1.531 kB / 399.5 MB, free: 45.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.971e-05/0.3023, allocations: 8.797 kB / 399.5 MB, free: 45.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3024, allocations: 5.156 kB / 399.5 MB, free: 45.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.565e-05/0.3024, allocations: 84.92 kB / 399.6 MB, free: 45.3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.472e-05/0.3025, allocations: 36.56 kB / 399.7 MB, free: 45.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.626e-05/0.3025, allocations: 32.27 kB / 399.7 MB, free: 45.24 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.41e-07/0.3026, allocations: 5.156 kB / 399.7 MB, free: 45.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001046/0.3027, allocations: 61.12 kB / 399.8 MB, free: 45.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.174e-06/0.3027, allocations: 4.938 kB / 399.8 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.3027, allocations: 1.469 kB / 399.8 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-06/0.3027, allocations: 96 / 399.8 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.407e-05/0.3027, allocations: 9.719 kB / 399.8 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-06/0.3027, allocations: 0 / 399.8 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.724e-05/0.3028, allocations: 12.47 kB / 399.8 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-06/0.3028, allocations: 1.656 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 5.688e-05/0.3028, allocations: 181.6 kB / 400 MB, free: 44.99 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.3029, allocations: 1.531 kB / 400 MB, free: 44.99 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.3029, allocations: 12.61 kB / 400 MB, free: 44.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3029, allocations: 0 / 400 MB, free: 44.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3029, allocations: 5.562 kB / 400 MB, free: 44.97 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3029, allocations: 0 / 400 MB, free: 44.97 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.3031, allocations: 164 kB / 400.1 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3031, allocations: 0 / 400.1 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.645e-05/0.3031, allocations: 15.83 kB / 400.2 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3031, allocations: 1.031 kB / 400.2 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3031, allocations: 5.062 kB / 400.2 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3032, allocations: 1.125 kB / 400.2 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3032, allocations: 0 / 400.2 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.3034, allocations: 176.2 kB / 400.3 MB, free: 44.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.3034, allocations: 78.67 kB / 400.4 MB, free: 44.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.3034, allocations: 5.406 kB / 400.4 MB, free: 44.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-05/0.3035, allocations: 7.828 kB / 400.4 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.3036, allocations: 3.5 kB / 400.4 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.3036, allocations: 5.125 kB / 400.4 MB, free: 44.49 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.356e-05/0.3036, allocations: 81.55 kB / 400.5 MB, free: 44.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.3036, allocations: 0 / 400.5 MB, free: 44.41 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.3039, allocations: 18.91 kB / 400.5 MB, free: 44.4 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 9.18e-05/0.304, allocations: 92.91 kB / 400.6 MB, free: 44.31 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002557/0.3042, allocations: 60.77 kB / 400.7 MB, free: 44.29 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3043, allocations: 0 / 400.7 MB, free: 44.29 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.797e-05/0.3043, allocations: 18.2 kB / 400.7 MB, free: 44.28 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.3046, allocations: 21.69 kB / 400.7 MB, free: 44.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.3049, allocations: 120.7 kB / 400.8 MB, free: 44.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.305, allocations: 0.6784 MB / 401.5 MB, free: 43.44 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.198e-05/0.3051, allocations: 5.312 kB / 401.5 MB, free: 43.44 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.3051, allocations: 10.22 kB / 401.5 MB, free: 43.43 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.3051, allocations: 4 kB / 401.5 MB, free: 43.43 MB / 318.1 MB Notification: Performance of Templates: time 0.002778/0.3079, allocations: 0.6438 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 cvode -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