Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_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_symb_jac_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.001457/0.001457, allocations: 108 kB / 16.27 MB, free: 6.422 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.001742/0.001743, allocations: 188.4 kB / 17.2 MB, free: 5.949 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.794/1.794, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06123/0.06123, allocations: 14.17 MB / 284.6 MB, free: 13.93 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.001974/0.001974, allocations: 68.12 kB / 345.7 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.302, allocations: 50.13 MB / 395.9 MB, free: 47.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002199/0.3043, allocations: 0.6752 MB / 396.6 MB, free: 47.33 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002369/0.3045, allocations: 64.06 kB / 396.6 MB, free: 47.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.3046, allocations: 0 / 396.6 MB, free: 47.28 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/0.3046, allocations: 0 / 396.6 MB, free: 47.28 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.722e-05/0.3047, allocations: 9.328 kB / 396.6 MB, free: 47.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.3049, allocations: 19.61 kB / 396.6 MB, free: 47.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.305, allocations: 23.22 kB / 396.7 MB, free: 47.24 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3051, allocations: 11.27 kB / 396.7 MB, free: 47.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.333e-05/0.3051, allocations: 11.31 kB / 396.7 MB, free: 47.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.924e-05/0.3052, allocations: 16.44 kB / 396.7 MB, free: 47.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.3052, allocations: 2.25 kB / 396.7 MB, free: 47.21 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.3052, allocations: 2.125 kB / 396.7 MB, free: 47.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.3053, allocations: 5.109 kB / 396.7 MB, free: 47.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.3053, allocations: 9.062 kB / 396.7 MB, free: 47.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.939e-05/0.3054, allocations: 24.47 kB / 396.7 MB, free: 47.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3054, allocations: 0 / 396.7 MB, free: 47.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3054, allocations: 1.094 kB / 396.7 MB, free: 47.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3054, allocations: 3.938 kB / 396.7 MB, free: 47.18 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.0003813/0.3058, allocations: 329.5 kB / 397.1 MB, free: 46.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.3059, allocations: 13.83 kB / 397.1 MB, free: 46.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.3059, allocations: 10.25 kB / 397.1 MB, free: 46.81 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.306, allocations: 175 kB / 397.3 MB, free: 46.6 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.3061, allocations: 1.688 kB / 397.3 MB, free: 46.6 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.3061, allocations: 5.875 kB / 397.3 MB, free: 46.6 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.3063, allocations: 76.17 kB / 397.3 MB, free: 46.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3063, allocations: 192 / 397.3 MB, free: 46.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3063, allocations: 5.031 kB / 397.4 MB, free: 46.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.3063, allocations: 1 kB / 397.4 MB, free: 46.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.3065, allocations: 40.94 kB / 397.4 MB, free: 46.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.3068, allocations: 269.3 kB / 397.7 MB, free: 46.2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.307, allocations: 75.19 kB / 397.7 MB, free: 46.13 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.994e-05/0.3071, allocations: 34.08 kB / 397.8 MB, free: 46.1 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.3071, allocations: 2.062 kB / 397.8 MB, free: 46.1 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.3071, allocations: 32.53 kB / 397.8 MB, free: 46.06 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3072, allocations: 0 / 397.8 MB, free: 46.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003443/0.3075, allocations: 94.64 kB / 397.9 MB, free: 46 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.3076, allocations: 111.9 kB / 398 MB, free: 45.87 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.946e-05/0.3076, allocations: 97.09 kB / 398.1 MB, free: 45.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.3076, allocations: 26.8 kB / 398.1 MB, free: 45.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.3077, allocations: 93.23 kB / 398.2 MB, free: 45.64 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.3077, allocations: 5.406 kB / 398.2 MB, free: 45.64 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.3077, allocations: 16.59 kB / 398.2 MB, free: 45.62 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.191e-05/0.3078, allocations: 320.4 kB / 398.5 MB, free: 45.3 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.45e-05/0.3079, allocations: 19.19 kB / 398.6 MB, free: 45.29 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.438e-05/0.308, allocations: 38.62 kB / 398.6 MB, free: 45.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.3081, allocations: 56.23 kB / 398.7 MB, free: 45.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3081, allocations: 0 / 398.7 MB, free: 45.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001908/0.3083, allocations: 73.42 kB / 398.7 MB, free: 45.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3083, allocations: 5.938 kB / 398.7 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3084, allocations: 4.062 kB / 398.7 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3084, allocations: 1.25 kB / 398.7 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.451e-05/0.3085, allocations: 12.11 kB / 398.8 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3085, allocations: 0 / 398.8 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.386e-05/0.3085, allocations: 9.422 kB / 398.8 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.3086, allocations: 1.531 kB / 398.8 MB, free: 45.15 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.976e-05/0.3086, allocations: 92.47 kB / 398.9 MB, free: 45.06 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.232e-05/0.3087, allocations: 24.61 kB / 398.9 MB, free: 45.03 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.731e-05/0.3088, allocations: 33.45 kB / 398.9 MB, free: 45 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.11e-07/0.3088, allocations: 0 / 398.9 MB, free: 45 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001158/0.3089, allocations: 65.06 kB / 399 MB, free: 44.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.203e-06/0.3089, allocations: 5.5 kB / 399 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-06/0.3089, allocations: 3.984 kB / 399 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-06/0.3089, allocations: 6.281 kB / 399 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.617e-05/0.3089, allocations: 5.406 kB / 399 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.309, allocations: 3.984 kB / 399 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.836e-05/0.309, allocations: 3.594 kB / 399 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-06/0.309, allocations: 1.688 kB / 399 MB, free: 44.94 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 6.122e-05/0.3091, allocations: 186 kB / 399.2 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.3091, allocations: 1.781 kB / 399.2 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.3091, allocations: 12.84 kB / 399.2 MB, free: 44.74 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3091, allocations: 4 kB / 399.2 MB, free: 44.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3092, allocations: 1.781 kB / 399.2 MB, free: 44.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3092, allocations: 7.922 kB / 399.2 MB, free: 44.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.3093, allocations: 167 kB / 399.4 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3093, allocations: 1.781 kB / 399.4 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.963e-05/0.3094, allocations: 11.14 kB / 399.4 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3094, allocations: 0 / 399.4 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3094, allocations: 1.844 kB / 399.4 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3094, allocations: 0 / 399.4 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.3094, allocations: 1.781 kB / 399.4 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.3099, allocations: 0.9685 MB / 400.4 MB, free: 43.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.3099, allocations: 82.14 kB / 400.4 MB, free: 43.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.3099, allocations: 1.125 kB / 400.4 MB, free: 43.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.31, allocations: 17.3 kB / 400.5 MB, free: 43.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.31, allocations: 6.453 kB / 400.5 MB, free: 43.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.3101, allocations: 1.188 kB / 400.5 MB, free: 43.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.219e-05/0.3101, allocations: 77.78 kB / 400.5 MB, free: 43.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3101, allocations: 0 / 400.5 MB, free: 43.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004838/0.3106, allocations: 11.69 kB / 400.6 MB, free: 43.33 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 8.571e-05/0.3107, allocations: 96.62 kB / 400.6 MB, free: 43.24 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002703/0.3109, allocations: 56.58 kB / 400.7 MB, free: 43.22 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.311, allocations: 0 / 400.7 MB, free: 43.22 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.823e-05/0.311, allocations: 19.36 kB / 400.7 MB, free: 43.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.3113, allocations: 18.36 kB / 400.7 MB, free: 43.2 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.3116, allocations: 217.4 kB / 401 MB, free: 42.97 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.3118, allocations: 0.6774 MB / 401.6 MB, free: 42.27 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.86e-05/0.3118, allocations: 6.25 kB / 401.6 MB, free: 42.27 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.3119, allocations: 13.75 kB / 401.6 MB, free: 42.25 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3119, allocations: 0 / 401.6 MB, free: 42.25 MB / 318.1 MB Notification: Performance of Templates: time 0.002589/0.3145, allocations: 0.6402 MB / 402.3 MB, free: 41.93 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches