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.001705/0.001705, allocations: 113 kB / 16.42 MB, free: 6.508 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.001964/0.001965, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.419/1.419, 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.06244/0.06244, allocations: 14.18 MB / 284.7 MB, free: 13.84 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.001396/0.001396, allocations: 71.33 kB / 397.1 MB, free: 43.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08553/0.08693, allocations: 50.14 MB / 447.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001738/0.08871, allocations: 0.6746 MB / 448 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002213/0.08895, allocations: 64.12 kB / 448 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.201e-05/0.08899, allocations: 0 / 448 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.08902, allocations: 7.938 kB / 448 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.213e-05/0.08911, allocations: 0 / 448 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.08925, allocations: 19.92 kB / 448.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.439e-05/0.08934, allocations: 23.92 kB / 448.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.285e-05/0.08944, allocations: 7.984 kB / 448.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.707e-05/0.08947, allocations: 8 kB / 448.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.08953, allocations: 11.92 kB / 448.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.08955, allocations: 8 kB / 448.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.308e-06/0.08956, allocations: 4 kB / 448.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.08958, allocations: 7.984 kB / 448.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.08961, allocations: 7.875 kB / 448.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.126e-05/0.08968, allocations: 23.86 kB / 448.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.08969, allocations: 0 / 448.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.0897, allocations: 0 / 448.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.08971, allocations: 0 / 448.2 MB, free: 12.79 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.0003774/0.09009, allocations: 343.4 kB / 448.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.09013, allocations: 12.03 kB / 448.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.09016, allocations: 0.9375 kB / 448.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.09032, allocations: 168.4 kB / 448.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.09034, allocations: 384 / 448.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.09036, allocations: 4.375 kB / 448.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.09054, allocations: 72.75 kB / 448.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.09056, allocations: 192 / 448.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.09058, allocations: 11.94 kB / 448.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.09059, allocations: 0 / 448.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.09074, allocations: 35.95 kB / 448.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.09109, allocations: 261.9 kB / 449 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.09127, allocations: 73.06 kB / 449.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.218e-05/0.09137, allocations: 29.77 kB / 449.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.0914, allocations: 0 / 449.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.09143, allocations: 46.48 kB / 449.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.09144, allocations: 0 / 449.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003361/0.09178, allocations: 85.61 kB / 449.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.09184, allocations: 106.8 kB / 449.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.243e-05/0.09192, allocations: 105.8 kB / 449.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.09194, allocations: 29.95 kB / 449.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.09198, allocations: 84.14 kB / 449.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.092, allocations: 3.953 kB / 449.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.09204, allocations: 25.64 kB / 449.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.09216, allocations: 310.8 kB / 449.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.722e-05/0.09225, allocations: 24.84 kB / 449.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-05/0.09235, allocations: 38.56 kB / 450 MB, free: 10.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.0925, allocations: 45.67 kB / 450 MB, free: 10.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.09251, allocations: 0 / 450 MB, free: 10.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002128/0.09273, allocations: 77.58 kB / 450.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.09275, allocations: 7.938 kB / 450.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.09276, allocations: 0 / 450.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.09278, allocations: 7.984 kB / 450.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.848e-05/0.09286, allocations: 8 kB / 450.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.09287, allocations: 0 / 450.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.621e-05/0.09293, allocations: 15.88 kB / 450.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.09294, allocations: 3.938 kB / 450.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.048e-05/0.09302, allocations: 100.2 kB / 450.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.24e-05/0.09307, allocations: 18.58 kB / 450.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.319e-05/0.09316, allocations: 29.7 kB / 450.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.51e-07/0.09317, allocations: 0 / 450.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001191/0.0933, allocations: 61.59 kB / 450.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.462e-06/0.09331, allocations: 4 kB / 450.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-06/0.09332, allocations: 0 / 450.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-06/0.09332, allocations: 4 kB / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.692e-05/0.09337, allocations: 7.984 kB / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-06/0.09337, allocations: 0 / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.712e-05/0.09341, allocations: 4 kB / 450.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.09342, allocations: 4 kB / 450.4 MB, free: 10.26 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 8.474e-05/0.09351, allocations: 196.2 kB / 450.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.09354, allocations: 0 / 450.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.821e-05/0.09357, allocations: 7.078 kB / 450.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.09357, allocations: 4 kB / 450.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.09358, allocations: 3.984 kB / 450.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.09359, allocations: 0 / 450.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.09375, allocations: 165.5 kB / 450.7 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.09376, allocations: 4 kB / 450.8 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/0.09382, allocations: 11.98 kB / 450.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.09383, allocations: 0 / 450.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.09384, allocations: 4 kB / 450.8 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.09385, allocations: 0 / 450.8 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.09385, allocations: 0 / 450.8 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005754/0.09443, allocations: 0.9657 MB / 451.7 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.09448, allocations: 77.11 kB / 451.8 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.0945, allocations: 4 kB / 451.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-05/0.09459, allocations: 19.8 kB / 451.8 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.09463, allocations: 4 kB / 451.8 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.09464, allocations: 7.984 kB / 451.8 MB, free: 8.652 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.206e-05/0.09468, allocations: 83.7 kB / 451.9 MB, free: 8.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09469, allocations: 0 / 451.9 MB, free: 8.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005038/0.0952, allocations: 4 kB / 451.9 MB, free: 8.566 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 7.848e-05/0.09528, allocations: 95.25 kB / 452 MB, free: 8.461 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.09554, allocations: 55.89 kB / 452.1 MB, free: 8.406 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.09555, allocations: 4.25 kB / 452.1 MB, free: 8.402 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.478e-05/0.09564, allocations: 27.92 kB / 452.1 MB, free: 8.375 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.09586, allocations: 0 / 452.1 MB, free: 8.375 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.09623, allocations: 224.4 kB / 452.3 MB, free: 8.113 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.09647, allocations: 0.6769 MB / 453 MB, free: 7.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.85e-05/0.09652, allocations: 12.11 kB / 453 MB, free: 7.398 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.09656, allocations: 7.438 kB / 453 MB, free: 7.391 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.09657, allocations: 0 / 453 MB, free: 7.391 MB / 334.1 MB Notification: Performance of Templates: time 0.002405/0.09898, allocations: 0.6161 MB / 453.6 MB, free: 6.777 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