Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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 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.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_symb_jac_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_symb_jac_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.001465/0.001465, allocations: 108.1 kB / 16.42 MB, free: 6.504 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.001751/0.001751, allocations: 185.5 kB / 17.35 MB, free: 5.758 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.562/1.562, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06558/0.06558, allocations: 14.16 MB / 284.7 MB, free: 13.86 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.001297/0.001297, allocations: 64.56 kB / 397.1 MB, free: 43.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08016/0.08147, allocations: 50.14 MB / 447.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.00233/0.08385, allocations: 0.6736 MB / 448 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002828/0.08417, allocations: 60.14 kB / 448 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.424e-05/0.08423, allocations: 0 / 448 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.501e-05/0.08429, allocations: 7.938 kB / 448 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.883e-05/0.08439, allocations: 0 / 448 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.08459, allocations: 27.91 kB / 448 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.08471, allocations: 23.92 kB / 448.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.08484, allocations: 4 kB / 448.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.523e-05/0.08489, allocations: 11.98 kB / 448.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.036e-05/0.08495, allocations: 11.92 kB / 448.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.08498, allocations: 4 kB / 448.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-06/0.08499, allocations: 0 / 448.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.08502, allocations: 8 kB / 448.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.08505, allocations: 7.875 kB / 448.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.08517, allocations: 31.83 kB / 448.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.08518, allocations: 0 / 448.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.08519, allocations: 4 kB / 448.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.08521, allocations: 0 / 448.2 MB, free: 12.82 MB / 334.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.0005342/0.08575, allocations: 331.5 kB / 448.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.08581, allocations: 12.03 kB / 448.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.08586, allocations: 4.922 kB / 448.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.0861, allocations: 164.4 kB / 448.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.08613, allocations: 384 / 448.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.08615, allocations: 4.375 kB / 448.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.08637, allocations: 80.73 kB / 448.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.08639, allocations: 192 / 448.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.08641, allocations: 7.938 kB / 448.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.08642, allocations: 0 / 448.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.08659, allocations: 31.97 kB / 448.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.08699, allocations: 265.8 kB / 449 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.08717, allocations: 73.09 kB / 449.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.704e-05/0.08728, allocations: 37.75 kB / 449.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.0873, allocations: 0 / 449.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.08735, allocations: 34.56 kB / 449.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.08735, allocations: 3.938 kB / 449.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003657/0.08772, allocations: 97.72 kB / 449.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.0878, allocations: 106.8 kB / 449.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.762e-05/0.08789, allocations: 97.86 kB / 449.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.08791, allocations: 25.7 kB / 449.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.08796, allocations: 88.12 kB / 449.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.08799, allocations: 3.953 kB / 449.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.08804, allocations: 17.72 kB / 449.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.08816, allocations: 314.9 kB / 449.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.878e-05/0.08825, allocations: 28.83 kB / 449.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.426e-05/0.08835, allocations: 34.56 kB / 450 MB, free: 10.72 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.08851, allocations: 45.72 kB / 450 MB, free: 10.67 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.08853, allocations: 0 / 450 MB, free: 10.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002145/0.08875, allocations: 81.47 kB / 450.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.08877, allocations: 4 kB / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.08878, allocations: 0 / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.08881, allocations: 4 kB / 450.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.712e-05/0.08891, allocations: 16.05 kB / 450.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.08893, allocations: 0 / 450.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.202e-05/0.08898, allocations: 11.89 kB / 450.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.089, allocations: 3.984 kB / 450.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.869e-05/0.08909, allocations: 96.08 kB / 450.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.965e-05/0.08915, allocations: 26.55 kB / 450.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.795e-05/0.08924, allocations: 29.75 kB / 450.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.41e-07/0.08925, allocations: 0 / 450.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001225/0.08938, allocations: 61.55 kB / 450.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/0.08939, allocations: 4 kB / 450.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-06/0.0894, allocations: 0 / 450.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.596e-06/0.0894, allocations: 4 kB / 450.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.249e-05/0.08944, allocations: 4 kB / 450.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-06/0.08945, allocations: 4.062 kB / 450.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.618e-05/0.0895, allocations: 4 kB / 450.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.08951, allocations: 3.984 kB / 450.4 MB, free: 10.29 MB / 334.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 0.0001181/0.08963, allocations: 192.1 kB / 450.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.08966, allocations: 0 / 450.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.143e-05/0.08968, allocations: 7.078 kB / 450.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.08969, allocations: 4 kB / 450.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.08971, allocations: 4 kB / 450.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.08971, allocations: 0 / 450.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.08991, allocations: 169.6 kB / 450.7 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.08992, allocations: 7.938 kB / 450.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.313e-05/0.08998, allocations: 8 kB / 450.8 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.08999, allocations: 0 / 450.8 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.09, allocations: 3.938 kB / 450.8 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.09001, allocations: 3.984 kB / 450.8 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.09002, allocations: 0 / 450.8 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006766/0.0907, allocations: 0.9657 MB / 451.7 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.09075, allocations: 77.11 kB / 451.8 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.09077, allocations: 11.94 kB / 451.8 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.779e-05/0.09085, allocations: 11.92 kB / 451.8 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.0909, allocations: 432 / 451.8 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.09091, allocations: 4 kB / 451.8 MB, free: 8.688 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.271e-05/0.09095, allocations: 83.27 kB / 451.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09096, allocations: 4 kB / 451.9 MB, free: 8.602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004785/0.09144, allocations: 4 kB / 451.9 MB, free: 8.598 MB / 334.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.85e-05/0.09154, allocations: 99.23 kB / 452 MB, free: 8.488 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.0918, allocations: 59.89 kB / 452.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.09181, allocations: 0 / 452.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.607e-05/0.0919, allocations: 23.92 kB / 452.1 MB, free: 8.406 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.09212, allocations: 4.781 kB / 452.1 MB, free: 8.402 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.09251, allocations: 228.8 kB / 452.3 MB, free: 8.137 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.0928, allocations: 0.6763 MB / 453 MB, free: 7.438 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.51e-05/0.09285, allocations: 11.98 kB / 453 MB, free: 7.426 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.09288, allocations: 7.438 kB / 453 MB, free: 7.418 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.09289, allocations: 0 / 453 MB, free: 7.418 MB / 334.1 MB Notification: Performance of Templates: time 0.002711/0.0956, allocations: 0.6221 MB / 453.6 MB, free: 6.801 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches