Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDeadBand.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.002325/0.002325, allocations: 93.47 kB / 19.44 MB, free: 332 kB / 13.93 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.002809/0.002809, allocations: 173.2 kB / 22.76 MB, free: 1.656 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 1.492/1.492, allocations: 158.6 MB / 184.6 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.07208/0.07208, allocations: 10.66 MB / 247.5 MB, free: 4.516 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.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDeadBand") translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 316.3 MB, free: 42.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.016e-05, allocations: 3.016 kB / 316.3 MB, free: 42.27 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001476/0.001506, allocations: 0.6993 MB / 317 MB, free: 41.67 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002065/0.001713, allocations: 58.7 kB / 317 MB, free: 41.62 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.001747, allocations: 4 kB / 317.1 MB, free: 41.61 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.112e-05/0.001768, allocations: 4.594 kB / 317.1 MB, free: 41.61 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.29e-05/0.001851, allocations: 5.391 kB / 317.1 MB, free: 41.61 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.00197, allocations: 19.17 kB / 317.1 MB, free: 41.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.468e-05/0.002065, allocations: 24.27 kB / 317.1 MB, free: 41.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.948e-05/0.002134, allocations: 4.75 kB / 317.1 MB, free: 41.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.544e-05/0.00218, allocations: 15.36 kB / 317.1 MB, free: 41.55 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.633e-05/0.002226, allocations: 11.84 kB / 317.1 MB, free: 41.55 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.002245, allocations: 7.984 kB / 317.1 MB, free: 41.54 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.658e-06/0.002254, allocations: 4 kB / 317.1 MB, free: 41.54 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.002272, allocations: 9.438 kB / 317.2 MB, free: 41.53 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.002292, allocations: 5.406 kB / 317.2 MB, free: 41.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.655e-05/0.002358, allocations: 19.97 kB / 317.2 MB, free: 41.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.002361, allocations: 0 / 317.2 MB, free: 41.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002361, allocations: 0 / 317.2 MB, free: 41.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.002364, allocations: 0 / 317.2 MB, free: 41.5 MB / 282.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.000295/0.002659, allocations: 362.1 kB / 317.5 MB, free: 41.11 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.00269, allocations: 8.031 kB / 317.5 MB, free: 41.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.002729, allocations: 8.891 kB / 317.6 MB, free: 41.1 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.974e-05/0.002829, allocations: 112.5 kB / 317.7 MB, free: 40.96 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.002838, allocations: 4.375 kB / 317.7 MB, free: 40.96 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.002849, allocations: 12.31 kB / 317.7 MB, free: 40.95 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.003004, allocations: 103 kB / 317.8 MB, free: 40.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.003013, allocations: 4.125 kB / 317.8 MB, free: 40.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.003022, allocations: 4.359 kB / 317.8 MB, free: 40.81 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.003026, allocations: 4.375 kB / 317.8 MB, free: 40.81 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.003147, allocations: 39.84 kB / 317.8 MB, free: 40.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002469/0.003394, allocations: 263.6 kB / 318.1 MB, free: 40.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.003519, allocations: 74.17 kB / 318.2 MB, free: 40.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.643e-05/0.003586, allocations: 39.36 kB / 318.2 MB, free: 40.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.003605, allocations: 0 / 318.2 MB, free: 40.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.003621, allocations: 37.39 kB / 318.2 MB, free: 40.28 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.003622, allocations: 4 kB / 318.2 MB, free: 40.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002792/0.003901, allocations: 81.55 kB / 318.3 MB, free: 40.19 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.003924, allocations: 102.8 kB / 318.4 MB, free: 40.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.658e-05/0.003971, allocations: 161.9 kB / 318.6 MB, free: 39.89 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.003978, allocations: 25.7 kB / 318.6 MB, free: 39.86 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.498e-05/0.004003, allocations: 134.8 kB / 318.7 MB, free: 39.72 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.004017, allocations: 11.94 kB / 318.7 MB, free: 39.71 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.004045, allocations: 19.38 kB / 318.8 MB, free: 39.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.176e-05/0.004097, allocations: 0.4886 MB / 319.3 MB, free: 39.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.344e-05/0.00416, allocations: 27.67 kB / 319.3 MB, free: 39.15 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.309e-05/0.004224, allocations: 68.75 kB / 319.3 MB, free: 39.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.004328, allocations: 47.3 kB / 319.4 MB, free: 39.01 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.00433, allocations: 0 / 319.4 MB, free: 39.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001416/0.004471, allocations: 65.61 kB / 319.5 MB, free: 38.94 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.00448, allocations: 8 kB / 319.5 MB, free: 38.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.004486, allocations: 9.984 kB / 319.5 MB, free: 38.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.004498, allocations: 0 / 319.5 MB, free: 38.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.083e-05/0.004569, allocations: 8 kB / 319.5 MB, free: 38.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.004573, allocations: 0 / 319.5 MB, free: 38.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.004619, allocations: 7.984 kB / 319.5 MB, free: 38.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.004624, allocations: 0 / 319.5 MB, free: 38.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.962e-05/0.004673, allocations: 134.9 kB / 319.6 MB, free: 38.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.869e-05/0.004712, allocations: 60.75 kB / 319.7 MB, free: 38.7 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.203e-05/0.004774, allocations: 31.31 kB / 319.7 MB, free: 38.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.01e-07/0.004775, allocations: 4.031 kB / 319.7 MB, free: 38.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 8.919e-05/0.004864, allocations: 57.58 kB / 319.8 MB, free: 38.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.532e-06/0.004871, allocations: 10.19 kB / 319.8 MB, free: 38.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-06/0.004872, allocations: 0 / 319.8 MB, free: 38.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-06/0.004874, allocations: 3.938 kB / 319.8 MB, free: 38.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.174e-05/0.004905, allocations: 15.92 kB / 319.8 MB, free: 38.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-06/0.004907, allocations: 0 / 319.8 MB, free: 38.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.474e-05/0.004941, allocations: 4 kB / 319.8 MB, free: 38.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-06/0.004945, allocations: 4 kB / 319.8 MB, free: 38.55 MB / 282.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 4.73e-05/0.004992, allocations: 268.1 kB / 320.1 MB, free: 38.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.005016, allocations: 4 kB / 320.1 MB, free: 38.28 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.265e-05/0.005038, allocations: 19.19 kB / 320.1 MB, free: 38.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.00504, allocations: 0 / 320.1 MB, free: 38.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.005042, allocations: 0 / 320.1 MB, free: 38.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.005044, allocations: 4 kB / 320.1 MB, free: 38.26 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.153e-05/0.005136, allocations: 116.6 kB / 320.2 MB, free: 38.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.005137, allocations: 0 / 320.2 MB, free: 38.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.843e-05/0.005185, allocations: 15.98 kB / 320.2 MB, free: 38.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.005187, allocations: 0 / 320.2 MB, free: 38.1 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.005194, allocations: 0 / 320.2 MB, free: 38.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.005196, allocations: 11.94 kB / 320.2 MB, free: 38.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.005197, allocations: 0 / 320.2 MB, free: 38.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.005364, allocations: 219.9 kB / 320.5 MB, free: 37.85 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-06/0.005371, allocations: 7.984 kB / 320.5 MB, free: 37.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.005384, allocations: 4 kB / 320.5 MB, free: 37.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-05/0.005453, allocations: 11.92 kB / 320.5 MB, free: 37.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.005496, allocations: 4 kB / 320.5 MB, free: 37.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.0055, allocations: 4 kB / 320.5 MB, free: 37.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.198e-05/0.005522, allocations: 123.2 kB / 320.6 MB, free: 37.7 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005522, allocations: 4 kB / 320.6 MB, free: 37.69 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002605/0.005782, allocations: 8 kB / 320.6 MB, free: 37.68 MB / 282.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 6.14e-05/0.005844, allocations: 95.25 kB / 320.7 MB, free: 37.58 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.006046, allocations: 59.28 kB / 320.8 MB, free: 37.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.006048, allocations: 4 kB / 320.8 MB, free: 37.51 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.269e-05/0.006111, allocations: 31.61 kB / 320.8 MB, free: 37.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.006314, allocations: 4.375 kB / 320.8 MB, free: 37.47 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002509/0.006565, allocations: 141 kB / 320.9 MB, free: 37.3 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.026e-05/0.006605, allocations: 55.36 kB / 321 MB, free: 37.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.968e-05/0.006644, allocations: 11.98 kB / 321 MB, free: 37.22 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.006674, allocations: 12.5 kB / 321 MB, free: 37.21 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.006674, allocations: 0 / 321 MB, free: 37.21 MB / 282.7 MB Notification: Performance of Templates: time 0.002966/0.00964, allocations: 0.6918 MB / 321.7 MB, free: 36.53 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.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: 4.579992674989626]