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.001175/0.001175, allocations: 96.2 kB / 20.44 MB, free: 4.137 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.001526/0.001526, allocations: 169 kB / 23.81 MB, free: 0.7695 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.9189/0.9189, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.03941/0.03941, allocations: 10.65 MB / 248.7 MB, free: 4.465 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.553e-06/1.553e-06, allocations: 0 / 317.8 MB, free: 41.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.827e-05, allocations: 2.312 kB / 317.8 MB, free: 41.95 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.001166/0.001184, allocations: 0.6991 MB / 318.5 MB, free: 41.31 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002011/0.001385, allocations: 55.75 kB / 318.6 MB, free: 41.26 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.273e-05/0.001418, allocations: 0 / 318.6 MB, free: 41.26 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.001445, allocations: 0 / 318.6 MB, free: 41.26 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.005e-05/0.001525, allocations: 8 kB / 318.6 MB, free: 41.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.001664, allocations: 19.92 kB / 318.6 MB, free: 41.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.246e-05/0.001757, allocations: 23.92 kB / 318.6 MB, free: 41.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.937e-05/0.001846, allocations: 4 kB / 318.6 MB, free: 41.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.152e-05/0.001888, allocations: 15.97 kB / 318.6 MB, free: 41.19 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.469e-05/0.001942, allocations: 11.98 kB / 318.6 MB, free: 41.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.001959, allocations: 0 / 318.6 MB, free: 41.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-06/0.001967, allocations: 7.938 kB / 318.7 MB, free: 41.17 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.001983, allocations: 4 kB / 318.7 MB, free: 41.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.88e-05/0.002001, allocations: 3.375 kB / 318.7 MB, free: 41.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.646e-05/0.002078, allocations: 19.92 kB / 318.7 MB, free: 41.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.00208, allocations: 4 kB / 318.7 MB, free: 41.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.00208, allocations: 3.938 kB / 318.7 MB, free: 41.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.002084, allocations: 0 / 318.7 MB, free: 41.14 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.0002784/0.002363, allocations: 358.7 kB / 319 MB, free: 40.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.002402, allocations: 16.02 kB / 319.1 MB, free: 40.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.002438, allocations: 5.234 kB / 319.1 MB, free: 40.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.002539, allocations: 112.6 kB / 319.2 MB, free: 40.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.002556, allocations: 384 / 319.2 MB, free: 40.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.002568, allocations: 8.375 kB / 319.2 MB, free: 40.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.002706, allocations: 107.7 kB / 319.3 MB, free: 40.45 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.002715, allocations: 4.188 kB / 319.3 MB, free: 40.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.002724, allocations: 4.375 kB / 319.3 MB, free: 40.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.002732, allocations: 384 / 319.3 MB, free: 40.45 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.115e-05/0.002763, allocations: 19.86 kB / 319.3 MB, free: 40.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.00299, allocations: 259.5 kB / 319.6 MB, free: 40.13 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.574e-05/0.003056, allocations: 70.09 kB / 319.6 MB, free: 40.04 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.467e-05/0.00308, allocations: 27.48 kB / 319.7 MB, free: 40 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.0031, allocations: 4 kB / 319.7 MB, free: 40 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.003117, allocations: 33.39 kB / 319.7 MB, free: 39.96 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.003118, allocations: 0 / 319.7 MB, free: 39.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001367/0.003255, allocations: 53.58 kB / 319.7 MB, free: 39.9 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.003284, allocations: 110.8 kB / 319.9 MB, free: 39.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.451e-05/0.003329, allocations: 157.9 kB / 320 MB, free: 39.59 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.233e-06/0.003336, allocations: 25.7 kB / 320 MB, free: 39.56 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.046e-05/0.003366, allocations: 130.8 kB / 320.2 MB, free: 39.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.003383, allocations: 11.95 kB / 320.2 MB, free: 39.42 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/0.003405, allocations: 19.61 kB / 320.2 MB, free: 39.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.799e-05/0.003453, allocations: 0.4922 MB / 320.7 MB, free: 38.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.003471, allocations: 15.69 kB / 320.7 MB, free: 38.87 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.456e-05/0.003496, allocations: 56.75 kB / 320.8 MB, free: 38.79 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.897e-05/0.003525, allocations: 27.38 kB / 320.8 MB, free: 38.76 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.003527, allocations: 0 / 320.8 MB, free: 38.76 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.865e-05/0.003575, allocations: 49.64 kB / 320.8 MB, free: 38.7 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.003588, allocations: 4 kB / 320.8 MB, free: 38.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.003593, allocations: 8.031 kB / 320.8 MB, free: 38.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.003609, allocations: 7.922 kB / 320.9 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.324e-05/0.003673, allocations: 8 kB / 320.9 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.003678, allocations: 0 / 320.9 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.295e-05/0.003701, allocations: 4 kB / 320.9 MB, free: 38.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.003707, allocations: 3.984 kB / 320.9 MB, free: 38.67 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 2.272e-05/0.003729, allocations: 130.9 kB / 321 MB, free: 38.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 1.801e-05/0.003747, allocations: 60.7 kB / 321.1 MB, free: 38.46 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.637e-05/0.003764, allocations: 27.41 kB / 321.1 MB, free: 38.42 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.31e-07/0.003764, allocations: 0 / 321.1 MB, free: 38.42 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 3.558e-05/0.0038, allocations: 53.58 kB / 321.1 MB, free: 38.36 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.205e-06/0.003808, allocations: 5.719 kB / 321.1 MB, free: 38.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-06/0.00381, allocations: 0 / 321.1 MB, free: 38.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-06/0.003811, allocations: 3.938 kB / 321.1 MB, free: 38.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.351e-05/0.003824, allocations: 8 kB / 321.2 MB, free: 38.35 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.92e-07/0.003825, allocations: 0 / 321.2 MB, free: 38.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.543e-05/0.003841, allocations: 12.3 kB / 321.2 MB, free: 38.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-06/0.003842, allocations: 4.062 kB / 321.2 MB, free: 38.33 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.498e-05/0.003887, allocations: 272.1 kB / 321.4 MB, free: 38.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.0039, allocations: 0 / 321.4 MB, free: 38.06 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.003925, allocations: 7.25 kB / 321.4 MB, free: 38.05 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.003927, allocations: 7.984 kB / 321.4 MB, free: 38.05 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.003931, allocations: 4 kB / 321.5 MB, free: 38.04 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.003934, allocations: 0 / 321.5 MB, free: 38.04 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.424e-05/0.004008, allocations: 116.6 kB / 321.6 MB, free: 37.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.004009, allocations: 0 / 321.6 MB, free: 37.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/0.004028, allocations: 11.94 kB / 321.6 MB, free: 37.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.00403, allocations: 7.984 kB / 321.6 MB, free: 37.88 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-06/0.004036, allocations: 0 / 321.6 MB, free: 37.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.004038, allocations: 7.938 kB / 321.6 MB, free: 37.87 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.004039, allocations: 0 / 321.6 MB, free: 37.87 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.004264, allocations: 1.387 MB / 323 MB, free: 36.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-06/0.004272, allocations: 4 kB / 323 MB, free: 36.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.004282, allocations: 0 / 323 MB, free: 36.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.356e-05/0.004316, allocations: 4 kB / 323 MB, free: 36.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.004355, allocations: 7.984 kB / 323 MB, free: 36.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.004357, allocations: 3.938 kB / 323 MB, free: 36.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.816e-05/0.004375, allocations: 131.2 kB / 323.1 MB, free: 36.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004375, allocations: 0 / 323.1 MB, free: 36.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003007/0.004676, allocations: 11.94 kB / 323.1 MB, free: 36.24 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.998e-05/0.004726, allocations: 91.25 kB / 323.2 MB, free: 36.14 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.89e-05/0.004825, allocations: 43.3 kB / 323.3 MB, free: 36.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.004826, allocations: 0 / 323.3 MB, free: 36.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.742e-05/0.004843, allocations: 23.61 kB / 323.3 MB, free: 36.06 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.004996, allocations: 12.38 kB / 323.3 MB, free: 36.05 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002364/0.005232, allocations: 284 kB / 323.6 MB, free: 35.72 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.411e-05/0.005256, allocations: 59.28 kB / 323.6 MB, free: 35.64 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.063e-05/0.005277, allocations: 8 kB / 323.6 MB, free: 35.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.005303, allocations: 12.5 kB / 323.7 MB, free: 35.62 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.005303, allocations: 0 / 323.7 MB, free: 35.62 MB / 282.7 MB Notification: Performance of Templates: time 0.001989/0.007293, allocations: 0.6709 MB / 324.3 MB, free: 34.97 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.864265268202871]