Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.001091/0.001091, 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.001279/0.001279, allocations: 169.3 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.9253/0.9253, allocations: 158.6 MB / 185.7 MB, free: 2.891 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.07814/0.07814, allocations: 10.65 MB / 248.7 MB, free: 4.449 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_symb_jac_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_symb_jac_PowerGrids.Controls.Test.TestDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 317.8 MB, free: 41.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.398e-05, allocations: 2.312 kB / 317.8 MB, free: 41.95 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001719/0.001743, allocations: 0.7095 MB / 318.5 MB, free: 41.3 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002831/0.002027, allocations: 55.8 kB / 318.6 MB, free: 41.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.288e-05/0.002069, allocations: 0 / 318.6 MB, free: 41.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.641e-05/0.002106, allocations: 3.938 kB / 318.6 MB, free: 41.24 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.002219, allocations: 4 kB / 318.6 MB, free: 41.24 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.002398, allocations: 15.92 kB / 318.6 MB, free: 41.22 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.002516, allocations: 31.92 kB / 318.6 MB, free: 41.19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.002621, allocations: 4 kB / 318.6 MB, free: 41.19 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.317e-05/0.002674, allocations: 15.98 kB / 318.6 MB, free: 41.17 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.465e-05/0.002739, allocations: 19.91 kB / 318.7 MB, free: 41.15 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.002761, allocations: 0 / 318.7 MB, free: 41.15 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.809e-06/0.002771, allocations: 4 kB / 318.7 MB, free: 41.15 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.002791, allocations: 0 / 318.7 MB, free: 41.15 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.728e-05/0.002818, allocations: 15.36 kB / 318.7 MB, free: 41.14 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.002918, allocations: 19.86 kB / 318.7 MB, free: 41.12 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.00292, allocations: 4 kB / 318.7 MB, free: 41.11 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.002922, allocations: 0 / 318.7 MB, free: 41.11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.002926, allocations: 4 kB / 318.7 MB, free: 41.11 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.0003684/0.003295, allocations: 350.8 kB / 319.1 MB, free: 40.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.003342, allocations: 12.03 kB / 319.1 MB, free: 40.72 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.003389, allocations: 6.547 kB / 319.1 MB, free: 40.71 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.003515, allocations: 116.5 kB / 319.2 MB, free: 40.57 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.003526, allocations: 4.375 kB / 319.2 MB, free: 40.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.003543, allocations: 4.375 kB / 319.2 MB, free: 40.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.003715, allocations: 107.7 kB / 319.3 MB, free: 40.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.003726, allocations: 192 / 319.3 MB, free: 40.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.00374, allocations: 12.38 kB / 319.3 MB, free: 40.42 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.003749, allocations: 384 / 319.3 MB, free: 40.42 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.078e-05/0.003789, allocations: 15.86 kB / 319.3 MB, free: 40.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.004075, allocations: 263.6 kB / 319.6 MB, free: 40.11 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.601e-05/0.004161, allocations: 66.12 kB / 319.7 MB, free: 40.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.004194, allocations: 23.42 kB / 319.7 MB, free: 39.99 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.004215, allocations: 0 / 319.7 MB, free: 39.99 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.004237, allocations: 37.39 kB / 319.7 MB, free: 39.94 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.004237, allocations: 4 kB / 319.7 MB, free: 39.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001774/0.004415, allocations: 53.58 kB / 319.8 MB, free: 39.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.004447, allocations: 110.8 kB / 319.9 MB, free: 39.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.161e-05/0.004509, allocations: 153.9 kB / 320 MB, free: 39.58 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.00452, allocations: 25.7 kB / 320 MB, free: 39.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.004554, allocations: 134.8 kB / 320.2 MB, free: 39.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.004573, allocations: 11.94 kB / 320.2 MB, free: 39.4 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.004603, allocations: 23.36 kB / 320.2 MB, free: 39.37 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.678e-05/0.00466, allocations: 496.4 kB / 320.7 MB, free: 38.87 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/0.004684, allocations: 15.69 kB / 320.7 MB, free: 38.85 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.694e-05/0.004721, allocations: 62.12 kB / 320.8 MB, free: 38.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.3e-05/0.004764, allocations: 31.31 kB / 320.8 MB, free: 38.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.004768, allocations: 4 kB / 320.8 MB, free: 38.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.986e-05/0.004847, allocations: 45.64 kB / 320.9 MB, free: 38.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.004861, allocations: 4 kB / 320.9 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.004869, allocations: 5.234 kB / 320.9 MB, free: 38.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.004888, allocations: 12.08 kB / 320.9 MB, free: 38.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.188e-05/0.00497, allocations: 4 kB / 320.9 MB, free: 38.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.004975, allocations: 0 / 320.9 MB, free: 38.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.387e-05/0.005009, allocations: 11.98 kB / 320.9 MB, free: 38.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.005015, allocations: 0 / 320.9 MB, free: 38.64 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 2.996e-05/0.005045, allocations: 126.9 kB / 321 MB, free: 38.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.622e-05/0.005072, allocations: 60.75 kB / 321.1 MB, free: 38.44 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.625e-05/0.005098, allocations: 27.31 kB / 321.1 MB, free: 38.4 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.51e-07/0.005098, allocations: 4.031 kB / 321.1 MB, free: 38.4 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 5.451e-05/0.005153, allocations: 53.58 kB / 321.2 MB, free: 38.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.941e-06/0.005159, allocations: 5.875 kB / 321.2 MB, free: 38.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-06/0.005161, allocations: 4.875 kB / 321.2 MB, free: 38.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-06/0.005164, allocations: 3.938 kB / 321.2 MB, free: 38.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.156e-05/0.005185, allocations: 4 kB / 321.2 MB, free: 38.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-06/0.005187, allocations: 1.953 kB / 321.2 MB, free: 38.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.005212, allocations: 11.92 kB / 321.2 MB, free: 38.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-06/0.005214, allocations: 0 / 321.2 MB, free: 38.31 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 5.175e-05/0.005266, allocations: 276.1 kB / 321.5 MB, free: 38.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.005288, allocations: 4 kB / 321.5 MB, free: 38.03 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.005317, allocations: 11.25 kB / 321.5 MB, free: 38.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.005319, allocations: 0 / 321.5 MB, free: 38.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.005323, allocations: 4 kB / 321.5 MB, free: 38.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.005326, allocations: 0 / 321.5 MB, free: 38.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.005427, allocations: 116.6 kB / 321.6 MB, free: 37.87 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.005428, allocations: 0 / 321.6 MB, free: 37.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.92e-05/0.005458, allocations: 7.984 kB / 321.6 MB, free: 37.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.005459, allocations: 4 kB / 321.6 MB, free: 37.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.005465, allocations: 4 kB / 321.6 MB, free: 37.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.005467, allocations: 7.875 kB / 321.6 MB, free: 37.85 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.005468, allocations: 0 / 321.6 MB, free: 37.85 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.005728, allocations: 1.395 MB / 323 MB, free: 36.37 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-06/0.005736, allocations: 4 kB / 323 MB, free: 36.37 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.005748, allocations: 0 / 323 MB, free: 36.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.716e-05/0.005805, allocations: 4 kB / 323 MB, free: 36.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.005852, allocations: 7.984 kB / 323 MB, free: 36.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.005856, allocations: 4 kB / 323 MB, free: 36.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.953e-05/0.005875, allocations: 119.2 kB / 323.1 MB, free: 36.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005875, allocations: 4 kB / 323.2 MB, free: 36.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005131/0.006389, allocations: 11.94 kB / 323.2 MB, free: 36.22 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.354e-05/0.006452, allocations: 95.23 kB / 323.3 MB, free: 36.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.006565, allocations: 39.31 kB / 323.3 MB, free: 36.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.006566, allocations: 0 / 323.3 MB, free: 36.07 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.619e-05/0.006592, allocations: 27.61 kB / 323.3 MB, free: 36.04 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.006825, allocations: 4.375 kB / 323.3 MB, free: 36.04 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.00713, allocations: 291.9 kB / 323.6 MB, free: 35.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.497e-05/0.007165, allocations: 59.3 kB / 323.7 MB, free: 35.62 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.23e-05/0.007198, allocations: 4 kB / 323.7 MB, free: 35.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.007229, allocations: 12.5 kB / 323.7 MB, free: 35.61 MB / 282.7 MB Notification: Performance of SimCode: time 9.41e-07/0.00723, allocations: 0 / 323.7 MB, free: 35.61 MB / 282.7 MB Notification: Performance of Templates: time 0.002577/0.009807, allocations: 0.7012 MB / 324.4 MB, free: 34.92 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_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.9749149410054088]