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.004918/0.004918, allocations: 98.36 kB / 15.73 MB, free: 5.602 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.001245/0.001245, allocations: 194.5 kB / 16.68 MB, free: 5.523 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.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07271/0.07271, allocations: 16.78 MB / 307.3 MB, free: 14.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 63.89 kB / 426.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08476/0.08587, allocations: 53.56 MB / 480.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001734/0.08763, allocations: 0.6727 MB / 480.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002199/0.08788, allocations: 56.16 kB / 480.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.223e-05/0.08792, allocations: 0 / 480.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.08796, allocations: 0 / 480.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.018e-05/0.08804, allocations: 7.922 kB / 480.9 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.08818, allocations: 19.98 kB / 480.9 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.373e-05/0.08827, allocations: 27.92 kB / 480.9 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.226e-05/0.08837, allocations: 7.984 kB / 480.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.667e-05/0.08841, allocations: 7.938 kB / 480.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.603e-05/0.08846, allocations: 11.98 kB / 480.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.08848, allocations: 4 kB / 480.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.743e-06/0.08849, allocations: 0 / 480.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.08851, allocations: 0 / 480.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.08855, allocations: 19.91 kB / 481 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.446e-05/0.08863, allocations: 19.86 kB / 481 MB, free: 4.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.08864, allocations: 4 kB / 481 MB, free: 4.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.08865, allocations: 0 / 481 MB, free: 4.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.08866, allocations: 0 / 481 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.0003783/0.08904, allocations: 335.5 kB / 481.3 MB, free: 3.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.08908, allocations: 15.97 kB / 481.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.08912, allocations: 0.9375 kB / 481.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.08929, allocations: 176.3 kB / 481.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.0893, allocations: 384 / 481.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.08932, allocations: 384 / 481.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.08951, allocations: 76.75 kB / 481.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.08953, allocations: 192 / 481.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.08955, allocations: 7.922 kB / 481.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.08956, allocations: 4 kB / 481.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.08972, allocations: 35.91 kB / 481.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003205/0.09005, allocations: 269.8 kB / 481.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.09023, allocations: 69.06 kB / 482 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.09034, allocations: 33.77 kB / 482 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.09036, allocations: 3.938 kB / 482 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.09039, allocations: 34.56 kB / 482 MB, free: 2.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.0904, allocations: 4 kB / 482 MB, free: 2.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003314/0.09073, allocations: 89.67 kB / 482.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.09079, allocations: 102.8 kB / 482.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.064e-05/0.09086, allocations: 101.8 kB / 482.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.09088, allocations: 25.7 kB / 482.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.09092, allocations: 80.14 kB / 482.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.09095, allocations: 15.91 kB / 482.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.09098, allocations: 13.72 kB / 482.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.09108, allocations: 323 kB / 482.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.629e-05/0.09118, allocations: 24.78 kB / 482.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.196e-05/0.09128, allocations: 38.56 kB / 482.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.09143, allocations: 45.72 kB / 482.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.09144, allocations: 0 / 482.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001941/0.09164, allocations: 81.53 kB / 483 MB, free: 1.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.09166, allocations: 4 kB / 483 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.09167, allocations: 0 / 483 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.09168, allocations: 4.062 kB / 483 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.982e-05/0.09177, allocations: 11.98 kB / 483 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.09178, allocations: 4 kB / 483 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.278e-05/0.09184, allocations: 11.92 kB / 483 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.09185, allocations: 0 / 483 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.474e-05/0.09193, allocations: 84.14 kB / 483.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.898e-05/0.09198, allocations: 30.56 kB / 483.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.942e-05/0.09207, allocations: 37.67 kB / 483.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.01e-07/0.09208, allocations: 0 / 483.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001179/0.0922, allocations: 57.56 kB / 483.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.633e-06/0.09221, allocations: 4 kB / 483.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-06/0.09222, allocations: 0 / 483.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-06/0.09222, allocations: 0 / 483.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.669e-05/0.09226, allocations: 12.06 kB / 483.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-06/0.09227, allocations: 0 / 483.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.969e-05/0.09232, allocations: 11.94 kB / 483.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-06/0.09233, allocations: 3.938 kB / 483.2 MB, free: 1.578 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.245e-05/0.09241, allocations: 184.2 kB / 483.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.09244, allocations: 3.938 kB / 483.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.916e-05/0.09246, allocations: 7.125 kB / 483.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.09247, allocations: 0 / 483.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.09248, allocations: 4 kB / 483.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.09249, allocations: 4 kB / 483.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.09264, allocations: 165.6 kB / 483.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.09265, allocations: 0 / 483.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.834e-05/0.09271, allocations: 11.98 kB / 483.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.09272, allocations: 4 kB / 483.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.09273, allocations: 0 / 483.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.09274, allocations: 0 / 483.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.09275, allocations: 3.938 kB / 483.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.09298, allocations: 176.7 kB / 483.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.09303, allocations: 81.14 kB / 483.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.09305, allocations: 4 kB / 483.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.881e-05/0.09314, allocations: 15.98 kB / 483.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.09317, allocations: 0 / 483.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.09318, allocations: 4 kB / 483.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.298e-05/0.09322, allocations: 83.27 kB / 484 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09322, allocations: 0 / 484 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.09349, allocations: 15.95 kB / 484 MB, free: 0.7305 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.52e-05/0.09357, allocations: 95.25 kB / 484.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.09382, allocations: 52.08 kB / 484.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.09384, allocations: 4.062 kB / 484.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-05/0.09393, allocations: 23.92 kB / 484.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.09413, allocations: 10 kB / 484.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.09442, allocations: 117.7 kB / 484.3 MB, free: 404 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.09465, allocations: 0.6808 MB / 485 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.478e-05/0.0947, allocations: 4 kB / 485 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.09473, allocations: 11.44 kB / 485 MB, free: 15.67 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.09473, allocations: 0 / 485 MB, free: 15.67 MB / 366.1 MB Notification: Performance of Templates: time 0.002256/0.09699, allocations: 0.6268 MB / 485.6 MB, free: 15.05 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=50 -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