Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007602/0.0007602, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007619/0.0007619, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7495/0.7495, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.03621/0.03621, allocations: 10.65 MB / 247.9 MB, free: 4.73 MB / 234.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 369.3 MB, free: 5.926 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.346e-05, allocations: 6.281 kB / 369.3 MB, free: 5.918 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001075/0.001088, allocations: 0.6921 MB / 370 MB, free: 5.227 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001802/0.001269, allocations: 51.77 kB / 370.1 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.898e-05/0.001298, allocations: 4 kB / 370.1 MB, free: 5.172 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.001322, allocations: 7.875 kB / 370.1 MB, free: 5.164 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.519e-05/0.001388, allocations: 3.984 kB / 370.1 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.001506, allocations: 15.92 kB / 370.1 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.078e-05/0.001586, allocations: 23.92 kB / 370.1 MB, free: 5.121 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.106e-05/0.001668, allocations: 7.984 kB / 370.1 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.447e-05/0.001702, allocations: 12 kB / 370.2 MB, free: 5.102 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.939e-05/0.001741, allocations: 7.984 kB / 370.2 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.001762, allocations: 0 / 370.2 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.602e-06/0.001769, allocations: 8 kB / 370.2 MB, free: 5.086 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.001784, allocations: 7.938 kB / 370.2 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.565e-05/0.001799, allocations: 7.984 kB / 370.2 MB, free: 5.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.564e-05/0.001865, allocations: 19.97 kB / 370.2 MB, free: 5.051 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422e-06/0.001867, allocations: 0 / 370.2 MB, free: 5.051 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.001867, allocations: 0 / 370.2 MB, free: 5.051 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.996e-06/0.00187, allocations: 0 / 370.2 MB, free: 5.051 MB / 298.7 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.0002969/0.002167, allocations: 254.4 kB / 370.4 MB, free: 4.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.002197, allocations: 12.03 kB / 370.5 MB, free: 4.758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.002223, allocations: 4.891 kB / 370.5 MB, free: 4.754 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.002332, allocations: 117.7 kB / 370.6 MB, free: 4.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.002342, allocations: 4.312 kB / 370.6 MB, free: 4.609 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.00235, allocations: 8.312 kB / 370.6 MB, free: 4.602 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.002493, allocations: 98.5 kB / 370.7 MB, free: 4.484 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.0025, allocations: 192 / 370.7 MB, free: 4.484 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.002508, allocations: 384 / 370.7 MB, free: 4.484 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.002512, allocations: 4.359 kB / 370.7 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.322e-05/0.002595, allocations: 39.84 kB / 370.7 MB, free: 4.441 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.002819, allocations: 213.5 kB / 370.9 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.265e-05/0.002911, allocations: 61.23 kB / 371 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.00296, allocations: 37.69 kB / 371 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.002977, allocations: 4 kB / 371 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.002995, allocations: 30.56 kB / 371.1 MB, free: 4.035 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.002996, allocations: 0 / 371.1 MB, free: 4.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002097/0.003206, allocations: 101.5 kB / 371.2 MB, free: 3.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.003246, allocations: 106.8 kB / 371.3 MB, free: 3.801 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.781e-05/0.003294, allocations: 97.86 kB / 371.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.003304, allocations: 25.7 kB / 371.4 MB, free: 3.664 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.933e-05/0.003333, allocations: 88.06 kB / 371.5 MB, free: 3.574 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.003348, allocations: 7.953 kB / 371.5 MB, free: 3.566 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.003371, allocations: 13.97 kB / 371.5 MB, free: 3.547 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.359e-05/0.003435, allocations: 318.8 kB / 371.8 MB, free: 3.227 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.396e-05/0.003479, allocations: 24.84 kB / 371.8 MB, free: 3.199 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.117e-05/0.00353, allocations: 64.25 kB / 371.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.731e-05/0.003608, allocations: 45.62 kB / 371.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.003609, allocations: 0 / 371.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.798e-05/0.003707, allocations: 77.62 kB / 372 MB, free: 2.988 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.003717, allocations: 8 kB / 372 MB, free: 2.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.003721, allocations: 3.938 kB / 372 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.003731, allocations: 0 / 372 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.051e-05/0.003782, allocations: 11.98 kB / 372 MB, free: 2.965 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.003786, allocations: 0 / 372 MB, free: 2.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.407e-05/0.00381, allocations: 8.062 kB / 372.1 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.003816, allocations: 11.98 kB / 372.1 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.73e-05/0.003853, allocations: 84.14 kB / 372.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.324e-05/0.003886, allocations: 60.2 kB / 372.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 3.566e-05/0.003922, allocations: 25.66 kB / 372.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.031e-06/0.003923, allocations: 4 kB / 372.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 5.51e-05/0.003978, allocations: 53.72 kB / 372.3 MB, free: 2.691 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.068e-06/0.003982, allocations: 12 kB / 372.3 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-06/0.003984, allocations: 4 kB / 372.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-06/0.003986, allocations: 3.938 kB / 372.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.417e-05/0.004, allocations: 4 kB / 372.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.004002, allocations: 7.938 kB / 372.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.66e-05/0.004019, allocations: 4 kB / 372.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-06/0.004021, allocations: 3.984 kB / 372.3 MB, free: 2.652 MB / 298.7 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.254e-05/0.004074, allocations: 178.2 kB / 372.5 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.004085, allocations: 4 kB / 372.5 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.493e-05/0.0041, allocations: 19.2 kB / 372.5 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.004101, allocations: 0 / 372.5 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.004104, allocations: 4 kB / 372.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.004107, allocations: 0 / 372.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.998e-05/0.004187, allocations: 113.2 kB / 372.6 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.004187, allocations: 0 / 372.6 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-05/0.004209, allocations: 8 kB / 372.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.004211, allocations: 3.984 kB / 372.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.004217, allocations: 4 kB / 372.7 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.004218, allocations: 3.938 kB / 372.7 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.004219, allocations: 4 kB / 372.7 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.004337, allocations: 172.6 kB / 372.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-06/0.004342, allocations: 3.938 kB / 372.8 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-06/0.00435, allocations: 8 kB / 372.8 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.853e-05/0.004389, allocations: 11.97 kB / 372.9 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/0.004419, allocations: 7.984 kB / 372.9 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-06/0.00442, allocations: 0 / 372.9 MB, free: 2.066 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.371e-05/0.004444, allocations: 87.27 kB / 372.9 MB, free: 1.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004444, allocations: 4 kB / 372.9 MB, free: 1.977 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001753/0.004619, allocations: 4 kB / 373 MB, free: 1.973 MB / 298.7 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 5.726e-05/0.004676, allocations: 95.25 kB / 373 MB, free: 1.871 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.004814, allocations: 55.89 kB / 373.1 MB, free: 1.816 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.004815, allocations: 3.938 kB / 373.1 MB, free: 1.812 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.119e-05/0.004856, allocations: 24.23 kB / 373.1 MB, free: 1.789 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.005006, allocations: 8 kB / 373.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002141/0.00522, allocations: 151.5 kB / 373.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.757e-05/0.005258, allocations: 67.2 kB / 373.4 MB, free: 1.512 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.005282, allocations: 16.5 kB / 373.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.005282, allocations: 0 / 373.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of Templates: time 0.001227/0.00651, allocations: 0.6396 MB / 374 MB, free: 0.8555 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_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_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8550495579838753]