Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_dev_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_dev_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.001786/0.001792, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001378/0.001378, allocations: 193.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1823/0.1823, allocations: 16.78 MB / 306.7 MB, free: 14.95 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.91 kB / 371.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3285, allocations: 53.54 MB / 424.6 MB, free: 39.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.002002/0.3306, allocations: 0.7372 MB / 425.4 MB, free: 38.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001905/0.3308, allocations: 57.92 kB / 425.4 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.3308, allocations: 0 / 425.4 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.381e-05/0.3309, allocations: 0 / 425.4 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.178e-05/0.331, allocations: 12.27 kB / 425.4 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.3311, allocations: 8.5 kB / 425.4 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.92e-05/0.3312, allocations: 21.61 kB / 425.4 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.218e-05/0.3313, allocations: 9.812 kB / 425.5 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.696e-05/0.3313, allocations: 8.359 kB / 425.5 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.834e-05/0.3314, allocations: 16.23 kB / 425.5 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.3314, allocations: 0 / 425.5 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-06/0.3314, allocations: 2.938 kB / 425.5 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.3314, allocations: 10.98 kB / 425.5 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.3315, allocations: 6.812 kB / 425.5 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.562e-05/0.3315, allocations: 18.09 kB / 425.5 MB, free: 38.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3316, allocations: 0 / 425.5 MB, free: 38.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.3316, allocations: 0 / 425.5 MB, free: 38.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.3316, allocations: 6.656 kB / 425.5 MB, free: 38.85 MB / 350.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.0003632/0.3319, allocations: 343.7 kB / 425.9 MB, free: 38.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.332, allocations: 8.719 kB / 425.9 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.332, allocations: 2.391 kB / 425.9 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.3321, allocations: 166.6 kB / 426 MB, free: 38.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.3322, allocations: 10.81 kB / 426 MB, free: 38.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.3322, allocations: 3.75 kB / 426 MB, free: 38.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.3324, allocations: 65 kB / 426.1 MB, free: 38.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.3324, allocations: 3.094 kB / 426.1 MB, free: 38.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3324, allocations: 10.52 kB / 426.1 MB, free: 38.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3324, allocations: 1.031 kB / 426.1 MB, free: 38.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.3326, allocations: 41.36 kB / 426.2 MB, free: 38.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.3329, allocations: 262.4 kB / 426.4 MB, free: 37.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.333, allocations: 72.8 kB / 426.5 MB, free: 37.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.492e-05/0.3331, allocations: 26.95 kB / 426.5 MB, free: 37.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.3331, allocations: 6.016 kB / 426.5 MB, free: 37.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.3332, allocations: 33.75 kB / 426.6 MB, free: 37.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.3332, allocations: 0 / 426.6 MB, free: 37.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003266/0.3335, allocations: 92.55 kB / 426.7 MB, free: 37.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.3335, allocations: 109.3 kB / 426.8 MB, free: 37.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.947e-05/0.3336, allocations: 97.16 kB / 426.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.3336, allocations: 25.7 kB / 426.9 MB, free: 37.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.728e-05/0.3336, allocations: 87.52 kB / 427 MB, free: 37.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.3337, allocations: 14.58 kB / 427 MB, free: 37.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.3337, allocations: 19.78 kB / 427 MB, free: 37.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.693e-05/0.3338, allocations: 310.8 kB / 427.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.531e-05/0.3338, allocations: 25.42 kB / 427.3 MB, free: 37.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.962e-05/0.3339, allocations: 36.92 kB / 427.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.3341, allocations: 43.17 kB / 427.4 MB, free: 37.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3341, allocations: 2.906 kB / 427.4 MB, free: 37.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001742/0.3343, allocations: 77.7 kB / 427.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3343, allocations: 10 kB / 427.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3343, allocations: 0 / 427.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3343, allocations: 0 / 427.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.352e-05/0.3344, allocations: 12.36 kB / 427.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3344, allocations: 3.938 kB / 427.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.019e-05/0.3345, allocations: 8.938 kB / 427.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.3345, allocations: 3.891 kB / 427.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.588e-05/0.3345, allocations: 89.8 kB / 427.6 MB, free: 36.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.142e-05/0.3346, allocations: 37.81 kB / 427.6 MB, free: 36.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.434e-05/0.3347, allocations: 28.64 kB / 427.7 MB, free: 36.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.81e-07/0.3347, allocations: 0 / 427.7 MB, free: 36.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001057/0.3348, allocations: 61.39 kB / 427.7 MB, free: 36.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.68e-06/0.3348, allocations: 5.906 kB / 427.7 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-06/0.3348, allocations: 7.281 kB / 427.7 MB, free: 36.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-06/0.3348, allocations: 0 / 427.7 MB, free: 36.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.191e-05/0.3348, allocations: 5.656 kB / 427.8 MB, free: 36.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.3348, allocations: 3.562 kB / 427.8 MB, free: 36.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.641e-05/0.3349, allocations: 9.094 kB / 427.8 MB, free: 36.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-06/0.3349, allocations: 3.938 kB / 427.8 MB, free: 36.87 MB / 350.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 5.191e-05/0.3349, allocations: 186.3 kB / 427.9 MB, free: 36.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.335, allocations: 0 / 427.9 MB, free: 36.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.094e-05/0.335, allocations: 9.625 kB / 428 MB, free: 36.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.335, allocations: 4 kB / 428 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.335, allocations: 0 / 428 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.335, allocations: 2.594 kB / 428 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.3351, allocations: 165 kB / 428.1 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3352, allocations: 0 / 428.1 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.467e-05/0.3352, allocations: 11.73 kB / 428.1 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3352, allocations: 0 / 428.1 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.3352, allocations: 0 / 428.1 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3352, allocations: 0 / 428.1 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3352, allocations: 2.656 kB / 428.1 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.3354, allocations: 178.4 kB / 428.3 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.3355, allocations: 84.58 kB / 428.4 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.3355, allocations: 3.25 kB / 428.4 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.41e-05/0.3356, allocations: 8.438 kB / 428.4 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.3356, allocations: 7.375 kB / 428.4 MB, free: 36.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.3356, allocations: 2.719 kB / 428.4 MB, free: 36.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.338e-05/0.3357, allocations: 81.53 kB / 428.5 MB, free: 36.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3357, allocations: 3.938 kB / 428.5 MB, free: 36.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.3359, allocations: 8.156 kB / 428.5 MB, free: 36.16 MB / 350.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.551e-05/0.336, allocations: 97.17 kB / 428.6 MB, free: 36.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.3363, allocations: 61.67 kB / 428.7 MB, free: 36.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3363, allocations: 0 / 428.7 MB, free: 36.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.952e-05/0.3364, allocations: 27.16 kB / 428.7 MB, free: 36.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.3366, allocations: 13.56 kB / 428.7 MB, free: 36.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.3369, allocations: 125.1 kB / 428.8 MB, free: 35.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.337, allocations: 0.6748 MB / 429.5 MB, free: 35.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.335e-05/0.3371, allocations: 2.656 kB / 429.5 MB, free: 35.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.3371, allocations: 10.06 kB / 429.5 MB, free: 35.24 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3371, allocations: 4 kB / 429.5 MB, free: 35.23 MB / 350.1 MB Notification: Performance of Templates: time 0.00247/0.3396, allocations: 0.5215 MB / 430 MB, free: 35.18 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_dev_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_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches