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.001151/0.00115, allocations: 104.1 kB / 15.88 MB, free: 4 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.001177/0.001178, allocations: 200.6 kB / 16.8 MB, free: 6.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.196/1.196, allocations: 205.1 MB / 222.7 MB, free: 4.82 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05648/0.05648, allocations: 14.16 MB / 284.1 MB, free: 7.363 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.00124/0.00124, allocations: 68.11 kB / 345 MB, free: 19.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07145/0.0727, allocations: 50.14 MB / 395.2 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001681/0.07442, allocations: 0.7403 MB / 395.9 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001733/0.07461, allocations: 59.8 kB / 396 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.592e-05/0.07464, allocations: 0 / 396 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.07469, allocations: 4 kB / 396 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.855e-05/0.07475, allocations: 0 / 396 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001298/0.07488, allocations: 27.92 kB / 396 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.07495, allocations: 15.98 kB / 396 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.746e-05/0.07504, allocations: 8 kB / 396 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.311e-05/0.07506, allocations: 7.938 kB / 396 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.094e-05/0.07511, allocations: 11.97 kB / 396.1 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.07513, allocations: 4 kB / 396.1 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.835e-06/0.07514, allocations: 0 / 396.1 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.07516, allocations: 11.86 kB / 396.1 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.07519, allocations: 8 kB / 396.1 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.978e-05/0.07525, allocations: 15.92 kB / 396.1 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.07526, allocations: 0 / 396.1 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.07527, allocations: 4 kB / 396.1 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.07528, allocations: 3.938 kB / 396.1 MB, free: 0.7773 MB / 286.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.0003569/0.07564, allocations: 339.7 kB / 396.4 MB, free: 404 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.07568, allocations: 8.031 kB / 396.4 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.07571, allocations: 4.938 kB / 396.4 MB, free: 392 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.07584, allocations: 164.4 kB / 396.6 MB, free: 188 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.07586, allocations: 8.375 kB / 396.6 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.07588, allocations: 384 / 396.6 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.07606, allocations: 76.75 kB / 396.7 MB, free: 88 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.07607, allocations: 192 / 396.7 MB, free: 88 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.07608, allocations: 3.938 kB / 396.7 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.07609, allocations: 0 / 396.7 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.07625, allocations: 35.95 kB / 396.7 MB, free: 48 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003298/0.07658, allocations: 269.8 kB / 397 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.07675, allocations: 69 kB / 397.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.796e-05/0.07685, allocations: 37.83 kB / 397.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.07687, allocations: 3.938 kB / 397.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.0769, allocations: 34.55 kB / 397.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 2.324e-06/0.0769, allocations: 0 / 397.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003129/0.07722, allocations: 93.59 kB / 397.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.07728, allocations: 114.7 kB / 397.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.733e-05/0.07735, allocations: 101.8 kB / 397.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.07737, allocations: 25.7 kB / 397.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.445e-05/0.07741, allocations: 80.14 kB / 397.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.07743, allocations: 11.91 kB / 397.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.07747, allocations: 13.7 kB / 397.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.954e-05/0.07757, allocations: 323 kB / 397.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-05/0.07766, allocations: 16.84 kB / 397.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.251e-05/0.07775, allocations: 38.55 kB / 397.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.0779, allocations: 49.72 kB / 398 MB, free: 14.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.0779, allocations: 0 / 398 MB, free: 14.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001808/0.07809, allocations: 69.55 kB / 398.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.07811, allocations: 8 kB / 398.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.07812, allocations: 3.984 kB / 398.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.116e-06/0.07813, allocations: 0 / 398.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.988e-05/0.07822, allocations: 12.06 kB / 398.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.07823, allocations: 0 / 398.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.242e-05/0.07828, allocations: 15.98 kB / 398.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.0783, allocations: 0 / 398.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.924e-05/0.07837, allocations: 92.06 kB / 398.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.523e-05/0.07842, allocations: 26.58 kB / 398.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.136e-05/0.0785, allocations: 29.73 kB / 398.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.11e-07/0.0785, allocations: 0 / 398.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001212/0.07863, allocations: 65.41 kB / 398.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.254e-06/0.07865, allocations: 8 kB / 398.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-06/0.07865, allocations: 0 / 398.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-06/0.07866, allocations: 4 kB / 398.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.492e-05/0.0787, allocations: 7.984 kB / 398.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-06/0.07871, allocations: 4.062 kB / 398.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.395e-05/0.07875, allocations: 4 kB / 398.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.07875, allocations: 4 kB / 398.3 MB, free: 14.24 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 8.216e-05/0.07884, allocations: 189.2 kB / 398.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.07887, allocations: 7.938 kB / 398.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.696e-05/0.07889, allocations: 7.125 kB / 398.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.0789, allocations: 3.984 kB / 398.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.07891, allocations: 0 / 398.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.07891, allocations: 8 kB / 398.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.07905, allocations: 157.6 kB / 398.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.07907, allocations: 0 / 398.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.596e-05/0.07913, allocations: 15.92 kB / 398.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.07914, allocations: 0 / 398.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.07915, allocations: 0 / 398.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.07915, allocations: 4 kB / 398.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.07916, allocations: 0 / 398.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004881/0.07965, allocations: 0.7364 MB / 399.5 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.07969, allocations: 81.11 kB / 399.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.07971, allocations: 0 / 399.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.432e-05/0.07979, allocations: 7.984 kB / 399.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.07983, allocations: 15.92 kB / 399.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.07983, allocations: 0 / 399.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.952e-05/0.07988, allocations: 83.28 kB / 399.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.07988, allocations: 0 / 399.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004555/0.08034, allocations: 8 kB / 399.6 MB, free: 12.79 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 6.605e-05/0.08041, allocations: 95.75 kB / 399.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.08064, allocations: 59.89 kB / 399.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.08065, allocations: 0 / 399.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.887e-05/0.08075, allocations: 23.92 kB / 399.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.08094, allocations: 4 kB / 399.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/0.08128, allocations: 234.5 kB / 400.1 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.08152, allocations: 0.677 MB / 400.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.843e-05/0.08157, allocations: 4 kB / 400.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.257e-05/0.08159, allocations: 11.44 kB / 400.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of SimCode: time 1.91e-07/0.0816, allocations: 0 / 400.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of Templates: time 0.001971/0.08358, allocations: 0.5261 MB / 401.3 MB, free: 11.09 MB / 302.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=50 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches