Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.0009755/0.0009755, allocations: 78.66 kB / 20.66 MB, free: 3.836 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.0009445/0.0009445, allocations: 169 kB / 24.06 MB, free: 448 kB / 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.949/0.949, allocations: 158.6 MB / 186 MB, free: 2.801 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.03828/0.03828, allocations: 10.66 MB / 249 MB, free: 4.285 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_symb_jac_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_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 318.3 MB, free: 41.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.252e-05/1.407e-05, allocations: 2.312 kB / 318.3 MB, free: 41.71 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001036/0.00105, allocations: 0.707 MB / 319 MB, free: 41.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002072/0.001257, allocations: 47.83 kB / 319 MB, free: 40.97 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.786e-05/0.001295, allocations: 0 / 319 MB, free: 40.97 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/0.00132, allocations: 3.938 kB / 319 MB, free: 40.96 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.006e-05/0.00141, allocations: 3.984 kB / 319 MB, free: 40.96 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.001542, allocations: 19.92 kB / 319 MB, free: 40.94 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.537e-05/0.001637, allocations: 23.92 kB / 319.1 MB, free: 40.92 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.618e-05/0.001723, allocations: 11.98 kB / 319.1 MB, free: 40.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.87e-05/0.001772, allocations: 8 kB / 319.1 MB, free: 40.9 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.058e-05/0.001823, allocations: 15.92 kB / 319.1 MB, free: 40.88 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.00184, allocations: 4 kB / 319.1 MB, free: 40.88 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.903e-06/0.001847, allocations: 0 / 319.1 MB, free: 40.88 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.001866, allocations: 0 / 319.1 MB, free: 40.88 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.774e-05/0.001884, allocations: 15.36 kB / 319.1 MB, free: 40.87 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.741e-05/0.001951, allocations: 19.86 kB / 319.1 MB, free: 40.85 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.001954, allocations: 3.984 kB / 319.1 MB, free: 40.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.001955, allocations: 0 / 319.1 MB, free: 40.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.001958, allocations: 0 / 319.1 MB, free: 40.84 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.00025/0.002208, allocations: 358.8 kB / 319.5 MB, free: 40.46 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.002243, allocations: 8.031 kB / 319.5 MB, free: 40.45 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.18e-05/0.002265, allocations: 9.234 kB / 319.5 MB, free: 40.44 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.422e-05/0.002339, allocations: 112.6 kB / 319.6 MB, free: 40.3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.002352, allocations: 4.375 kB / 319.6 MB, free: 40.3 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-06/0.002359, allocations: 4.359 kB / 319.6 MB, free: 40.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.002469, allocations: 107.7 kB / 319.7 MB, free: 40.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.002476, allocations: 192 / 319.7 MB, free: 40.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.002482, allocations: 384 / 319.7 MB, free: 40.16 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.002487, allocations: 4.375 kB / 319.7 MB, free: 40.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.458e-05/0.002511, allocations: 15.86 kB / 319.8 MB, free: 40.14 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.002679, allocations: 250.7 kB / 320 MB, free: 39.87 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.594e-05/0.002725, allocations: 62.06 kB / 320.1 MB, free: 39.79 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.002742, allocations: 31.47 kB / 320.1 MB, free: 39.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.002765, allocations: 4 kB / 320.1 MB, free: 39.74 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.002781, allocations: 33.39 kB / 320.1 MB, free: 39.7 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.002782, allocations: 0 / 320.1 MB, free: 39.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001054/0.002887, allocations: 61.56 kB / 320.2 MB, free: 39.63 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.066e-05/0.002908, allocations: 102.8 kB / 320.3 MB, free: 39.51 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.513e-05/0.002943, allocations: 157.9 kB / 320.4 MB, free: 39.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.25e-06/0.002948, allocations: 25.7 kB / 320.5 MB, free: 39.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.22e-05/0.00297, allocations: 134.8 kB / 320.6 MB, free: 39.17 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.002983, allocations: 3.953 kB / 320.6 MB, free: 39.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/0.003005, allocations: 27.36 kB / 320.6 MB, free: 39.13 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.593e-05/0.00304, allocations: 496.1 kB / 321.1 MB, free: 38.63 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/0.003054, allocations: 15.88 kB / 321.1 MB, free: 38.61 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.259e-05/0.003076, allocations: 64.69 kB / 321.2 MB, free: 38.53 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.04e-05/0.003097, allocations: 23.38 kB / 321.2 MB, free: 38.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.003098, allocations: 0 / 321.2 MB, free: 38.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.745e-05/0.003136, allocations: 45.64 kB / 321.3 MB, free: 38.45 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.003145, allocations: 8 kB / 321.3 MB, free: 38.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.003149, allocations: 0 / 321.3 MB, free: 38.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.00316, allocations: 7.922 kB / 321.3 MB, free: 38.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.352e-05/0.003204, allocations: 12.09 kB / 321.3 MB, free: 38.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.003207, allocations: 0 / 321.3 MB, free: 38.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.047e-05/0.003227, allocations: 7.984 kB / 321.3 MB, free: 38.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-06/0.003231, allocations: 0 / 321.3 MB, free: 38.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 1.85e-05/0.003249, allocations: 130.9 kB / 321.4 MB, free: 38.28 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 1.225e-05/0.003261, allocations: 52.77 kB / 321.5 MB, free: 38.21 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.286e-05/0.003274, allocations: 31.3 kB / 321.5 MB, free: 38.17 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.41e-07/0.003274, allocations: 0 / 321.5 MB, free: 38.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 2.8e-05/0.003302, allocations: 49.67 kB / 321.6 MB, free: 38.12 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.398e-06/0.003307, allocations: 9.812 kB / 321.6 MB, free: 38.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.62e-07/0.003308, allocations: 4 kB / 321.6 MB, free: 38.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.32e-07/0.003308, allocations: 0 / 321.6 MB, free: 38.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.026e-05/0.003319, allocations: 4 kB / 321.6 MB, free: 38.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.82e-07/0.00332, allocations: 3.938 kB / 321.6 MB, free: 38.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.401e-05/0.003334, allocations: 15.92 kB / 321.6 MB, free: 38.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-06/0.003335, allocations: 0.5625 kB / 321.6 MB, free: 38.08 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 3.606e-05/0.003371, allocations: 268.1 kB / 321.9 MB, free: 37.81 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.003383, allocations: 8.062 kB / 321.9 MB, free: 37.8 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.948e-05/0.003402, allocations: 3.312 kB / 321.9 MB, free: 37.8 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.003404, allocations: 3.938 kB / 321.9 MB, free: 37.8 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.003406, allocations: 0 / 321.9 MB, free: 37.8 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.003408, allocations: 0 / 321.9 MB, free: 37.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.057e-05/0.003479, allocations: 105.9 kB / 322 MB, free: 37.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.5e-07/0.003479, allocations: 0 / 322 MB, free: 37.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.517e-05/0.003494, allocations: 4 kB / 322 MB, free: 37.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-07/0.003495, allocations: 0 / 322 MB, free: 37.67 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.0035, allocations: 5.062 kB / 322 MB, free: 37.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.0035, allocations: 3.938 kB / 322 MB, free: 37.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.003501, allocations: 7.938 kB / 322 MB, free: 37.65 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.003673, allocations: 1.392 MB / 323.4 MB, free: 36.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-06/0.00368, allocations: 4 kB / 323.4 MB, free: 36.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-06/0.003687, allocations: 3.984 kB / 323.4 MB, free: 36.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.272e-05/0.00372, allocations: 4 kB / 323.4 MB, free: 36.17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.003746, allocations: 11.97 kB / 323.4 MB, free: 36.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.003748, allocations: 0.875 kB / 323.4 MB, free: 36.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.629e-05/0.003764, allocations: 123.2 kB / 323.5 MB, free: 36.04 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003764, allocations: 0 / 323.5 MB, free: 36.04 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002839/0.004048, allocations: 12 kB / 323.5 MB, free: 36.02 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 4.904e-05/0.004097, allocations: 95.25 kB / 323.6 MB, free: 35.92 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.614e-05/0.004163, allocations: 35.3 kB / 323.7 MB, free: 35.88 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.004164, allocations: 4 kB / 323.7 MB, free: 35.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.43e-05/0.004179, allocations: 11.69 kB / 323.7 MB, free: 35.86 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.004316, allocations: 20.73 kB / 323.7 MB, free: 35.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002084/0.004525, allocations: 288.3 kB / 324 MB, free: 35.51 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.297e-05/0.004548, allocations: 59.34 kB / 324 MB, free: 35.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.062e-05/0.004568, allocations: 0 / 324 MB, free: 35.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.004611, allocations: 78.2 kB / 324.1 MB, free: 35.35 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.004611, allocations: 4 kB / 324.1 MB, free: 35.35 MB / 282.7 MB Notification: Performance of Templates: time 0.001954/0.006565, allocations: 0.7431 MB / 324.9 MB, free: 34.62 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.737898854073137]