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.001086/0.001087, allocations: 119 kB / 16.42 MB, free: 6.48 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.001756/0.001756, allocations: 183.9 kB / 17.34 MB, free: 5.746 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.335/1.335, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07639/0.07639, allocations: 16.77 MB / 308 MB, free: 14.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.91 kB / 427.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08724/0.08841, allocations: 53.56 MB / 480.8 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001851/0.0903, allocations: 0.6698 MB / 481.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002259/0.09055, allocations: 60.12 kB / 481.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.804e-05/0.09061, allocations: 4 kB / 481.5 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.469e-05/0.09064, allocations: 3.938 kB / 481.6 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.982e-05/0.09074, allocations: 0 / 481.6 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.09089, allocations: 19.92 kB / 481.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.094e-05/0.09099, allocations: 19.98 kB / 481.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.616e-05/0.09109, allocations: 4 kB / 481.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.81e-05/0.09112, allocations: 11.98 kB / 481.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.633e-05/0.09117, allocations: 15.88 kB / 481.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.09119, allocations: 0 / 481.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-06/0.09121, allocations: 4 kB / 481.6 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.09123, allocations: 11.97 kB / 481.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.09126, allocations: 11.94 kB / 481.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.803e-05/0.09134, allocations: 19.86 kB / 481.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.09135, allocations: 0 / 481.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.09136, allocations: 0 / 481.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.09137, allocations: 0 / 481.7 MB, free: 4.121 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.0003767/0.09175, allocations: 335.5 kB / 482 MB, free: 3.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.0918, allocations: 8.031 kB / 482 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.09184, allocations: 4.938 kB / 482 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.09201, allocations: 176.3 kB / 482.2 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.09203, allocations: 384 / 482.2 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.09205, allocations: 4.375 kB / 482.2 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.09225, allocations: 76.69 kB / 482.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.09226, allocations: 192 / 482.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.09228, allocations: 3.938 kB / 482.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.09229, allocations: 0 / 482.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.09247, allocations: 39.95 kB / 482.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.09282, allocations: 265.8 kB / 482.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.093, allocations: 69.12 kB / 482.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.729e-05/0.09311, allocations: 29.77 kB / 482.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.09314, allocations: 4 kB / 482.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.09318, allocations: 46.48 kB / 482.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.09318, allocations: 3.938 kB / 482.7 MB, free: 2.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.000367/0.09356, allocations: 85.59 kB / 482.8 MB, free: 2.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.09362, allocations: 110.8 kB / 482.9 MB, free: 2.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.551e-05/0.09369, allocations: 94 kB / 483 MB, free: 2.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.09371, allocations: 29.7 kB / 483 MB, free: 2.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.09377, allocations: 88.38 kB / 483.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.09379, allocations: 11.91 kB / 483.1 MB, free: 2.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.09384, allocations: 17.7 kB / 483.1 MB, free: 2.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.09395, allocations: 314.8 kB / 483.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.827e-05/0.09405, allocations: 20.84 kB / 483.5 MB, free: 2.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.67e-05/0.09415, allocations: 46.58 kB / 483.5 MB, free: 2.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.09432, allocations: 45.62 kB / 483.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.09433, allocations: 0 / 483.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000208/0.09455, allocations: 77.67 kB / 483.6 MB, free: 1.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.09457, allocations: 7.984 kB / 483.6 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.09458, allocations: 4 kB / 483.6 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.0946, allocations: 0 / 483.6 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.892e-05/0.09469, allocations: 11.94 kB / 483.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.09471, allocations: 0 / 483.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.166e-05/0.09477, allocations: 11.92 kB / 483.7 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.09479, allocations: 4 kB / 483.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.137e-05/0.09486, allocations: 88.12 kB / 483.8 MB, free: 1.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.036e-05/0.09492, allocations: 26.61 kB / 483.8 MB, free: 1.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.284e-05/0.09501, allocations: 29.7 kB / 483.8 MB, free: 1.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.09502, allocations: 0 / 483.8 MB, free: 1.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001265/0.09515, allocations: 57.56 kB / 483.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.09518, allocations: 6.438 kB / 483.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.09518, allocations: 8 kB / 483.9 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-06/0.09519, allocations: 0 / 483.9 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.841e-05/0.09523, allocations: 7.984 kB / 483.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-06/0.09524, allocations: 0 / 483.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.149e-05/0.09529, allocations: 7.953 kB / 483.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-06/0.0953, allocations: 3.938 kB / 483.9 MB, free: 1.582 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 8.703e-05/0.09539, allocations: 184.2 kB / 484.1 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.09542, allocations: 3.938 kB / 484.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.09546, allocations: 19.11 kB / 484.1 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.09547, allocations: 3.938 kB / 484.1 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.09547, allocations: 0 / 484.1 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.09552, allocations: 77.11 kB / 484.2 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.09554, allocations: 4 kB / 484.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/0.09562, allocations: 7.984 kB / 484.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.09567, allocations: 7.938 kB / 484.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002979/0.09598, allocations: 232.2 kB / 484.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003142/0.0963, allocations: 318.1 kB / 484.7 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.347e-05/0.09641, allocations: 24.05 kB / 484.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.477e-05/0.0965, allocations: 79.28 kB / 484.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of Backend: time 2.7e-07/0.0965, allocations: 0 / 484.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004943/0.097, allocations: 110.3 kB / 484.9 MB, free: 484 kB / 350.1 MB Notification: Performance of SimCode: time 0.0004/0.09741, allocations: 0.5489 MB / 485.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of Templates: time 0.002788/0.1002, allocations: 0.7681 MB / 486.3 MB, free: 15.11 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches