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.00111/0.00111, allocations: 121 kB / 17.1 MB, free: 5.992 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.001188/0.001188, allocations: 188.8 kB / 18.03 MB, free: 5.074 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.331/1.331, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06309/0.06309, allocations: 14.17 MB / 285.4 MB, free: 13.87 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.001646/0.001647, allocations: 68.48 kB / 397.8 MB, free: 43.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07095/0.07261, allocations: 50.14 MB / 448 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001672/0.07432, allocations: 0.6707 MB / 448.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002043/0.07454, allocations: 64.12 kB / 448.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.07458, allocations: 0 / 448.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.374e-05/0.07462, allocations: 0 / 448.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8e-05/0.07471, allocations: 3.938 kB / 448.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.07487, allocations: 23.92 kB / 448.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.345e-05/0.07498, allocations: 23.92 kB / 448.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.82e-05/0.07507, allocations: 11.98 kB / 448.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.457e-05/0.0751, allocations: 3.984 kB / 448.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.841e-05/0.07516, allocations: 15.92 kB / 448.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.07518, allocations: 4 kB / 448.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-06/0.07519, allocations: 0 / 448.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.07521, allocations: 4 kB / 448.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.07525, allocations: 11.94 kB / 448.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.649e-05/0.07532, allocations: 27.89 kB / 448.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.07533, allocations: 7.938 kB / 448.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.07533, allocations: 0 / 448.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.07535, allocations: 0 / 448.8 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.0003737/0.07572, allocations: 327.5 kB / 449.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.07576, allocations: 8.031 kB / 449.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.07581, allocations: 4.938 kB / 449.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.07596, allocations: 176.3 kB / 449.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.07598, allocations: 384 / 449.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.076, allocations: 4.375 kB / 449.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.0762, allocations: 76.75 kB / 449.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.07622, allocations: 192 / 449.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.07623, allocations: 3.938 kB / 449.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.07625, allocations: 0 / 449.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.07642, allocations: 39.95 kB / 449.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.07677, allocations: 261.9 kB / 449.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.07696, allocations: 73.06 kB / 449.8 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.07707, allocations: 37.75 kB / 449.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.07709, allocations: 0 / 449.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.07712, allocations: 34.5 kB / 449.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.07713, allocations: 0 / 449.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003615/0.0775, allocations: 93.67 kB / 449.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.07756, allocations: 106.8 kB / 450.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.28e-05/0.07764, allocations: 97.86 kB / 450.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.07766, allocations: 29.64 kB / 450.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.0777, allocations: 80.14 kB / 450.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.07773, allocations: 23.73 kB / 450.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.07777, allocations: 9.719 kB / 450.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.07788, allocations: 319 kB / 450.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.264e-05/0.07798, allocations: 20.84 kB / 450.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.446e-05/0.07808, allocations: 38.55 kB / 450.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.07825, allocations: 49.72 kB / 450.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.07826, allocations: 0 / 450.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002085/0.07847, allocations: 73.53 kB / 450.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.0785, allocations: 8 kB / 450.8 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.07851, allocations: 3.938 kB / 450.8 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.07852, allocations: 4.062 kB / 450.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.374e-05/0.07862, allocations: 11.98 kB / 450.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.07863, allocations: 0 / 450.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.639e-05/0.0787, allocations: 8 kB / 450.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.07871, allocations: 0 / 450.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.163e-05/0.07878, allocations: 92.12 kB / 450.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.362e-05/0.07885, allocations: 34.5 kB / 450.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.126e-05/0.07893, allocations: 25.75 kB / 451 MB, free: 10.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.72e-07/0.07894, allocations: 0 / 451 MB, free: 10.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001341/0.07908, allocations: 53.56 kB / 451 MB, free: 10.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.774e-06/0.0791, allocations: 8 kB / 451 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-06/0.0791, allocations: 0 / 451 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-06/0.07911, allocations: 4.359 kB / 451 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.786e-05/0.07916, allocations: 12.06 kB / 451 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.07917, allocations: 4 kB / 451 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.087e-05/0.07921, allocations: 0 / 451 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-06/0.07922, allocations: 4 kB / 451 MB, free: 10.3 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 7.158e-05/0.0793, allocations: 180.2 kB / 451.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.07934, allocations: 15.83 kB / 451.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.07937, allocations: 15.06 kB / 451.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.07938, allocations: 0 / 451.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.07938, allocations: 0 / 451.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.07942, allocations: 89.11 kB / 451.3 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.07944, allocations: 0 / 451.3 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/0.07953, allocations: 7.984 kB / 451.3 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.07958, allocations: 15.81 kB / 451.4 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000293/0.07988, allocations: 232.2 kB / 451.6 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006844/0.08057, allocations: 1.238 MB / 452.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001074/0.08069, allocations: 19.98 kB / 452.8 MB, free: 8.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.395e-05/0.08073, allocations: 79.28 kB / 452.9 MB, free: 8.332 MB / 334.1 MB Notification: Performance of Backend: time 3.2e-07/0.08074, allocations: 0 / 452.9 MB, free: 8.332 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005263/0.08127, allocations: 115.4 kB / 453 MB, free: 8.211 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004505/0.08173, allocations: 0.7531 MB / 453.8 MB, free: 7.383 MB / 334.1 MB Notification: Performance of Templates: time 0.002737/0.08448, allocations: 0.7628 MB / 454.6 MB, free: 6.625 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches