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.001004/0.001004, allocations: 78.66 kB / 20.66 MB, free: 3.84 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.001512/0.001512, allocations: 173 kB / 24.06 MB, free: 452 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.8132/0.8132, allocations: 158.6 MB / 186 MB, free: 2.773 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.04231/0.04231, allocations: 10.65 MB / 249 MB, free: 4.293 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 2.014e-06/2.014e-06, allocations: 0 / 318.2 MB, free: 41.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.255e-05/1.457e-05, allocations: 7.453 kB / 318.3 MB, free: 41.72 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001046/0.00106, allocations: 0.7061 MB / 319 MB, free: 41.03 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001911/0.001251, allocations: 55.8 kB / 319 MB, free: 40.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.001284, allocations: 4 kB / 319 MB, free: 40.97 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.221e-05/0.001306, allocations: 3.938 kB / 319 MB, free: 40.97 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.995e-05/0.001386, allocations: 4 kB / 319 MB, free: 40.96 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001149/0.001501, allocations: 19.92 kB / 319 MB, free: 40.95 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.216e-05/0.001583, allocations: 23.92 kB / 319.1 MB, free: 40.92 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.068e-05/0.001664, allocations: 7.984 kB / 319.1 MB, free: 40.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.915e-05/0.001713, allocations: 15.94 kB / 319.1 MB, free: 40.9 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.001766, allocations: 7.984 kB / 319.1 MB, free: 40.89 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.001782, allocations: 4 kB / 319.1 MB, free: 40.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-06/0.00179, allocations: 0 / 319.1 MB, free: 40.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.001807, allocations: 19.97 kB / 319.1 MB, free: 40.87 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.001824, allocations: 11.31 kB / 319.1 MB, free: 40.86 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.858e-05/0.001893, allocations: 15.92 kB / 319.1 MB, free: 40.84 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.001895, allocations: 0 / 319.1 MB, free: 40.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.001895, allocations: 0 / 319.1 MB, free: 40.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.956e-06/0.001898, 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.0002591/0.002157, allocations: 354.8 kB / 319.5 MB, free: 40.46 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.002193, allocations: 12.02 kB / 319.5 MB, free: 40.45 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.433e-05/0.002218, allocations: 9.234 kB / 319.5 MB, free: 40.44 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.471e-05/0.002302, allocations: 116.6 kB / 319.6 MB, free: 40.3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.002311, allocations: 8.312 kB / 319.6 MB, free: 40.29 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-06/0.002319, allocations: 4.375 kB / 319.6 MB, free: 40.29 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.002455, allocations: 107.7 kB / 319.7 MB, free: 40.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.002462, allocations: 192 / 319.7 MB, free: 40.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.002469, allocations: 4.375 kB / 319.8 MB, free: 40.15 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.002474, allocations: 384 / 319.8 MB, free: 40.15 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.184e-05/0.002496, allocations: 15.86 kB / 319.8 MB, free: 40.14 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.002663, allocations: 244.2 kB / 320 MB, free: 39.87 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.861e-05/0.002711, allocations: 70.05 kB / 320.1 MB, free: 39.77 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.002729, allocations: 27.48 kB / 320.1 MB, free: 39.74 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.002745, allocations: 3.938 kB / 320.1 MB, free: 39.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.002764, allocations: 37.39 kB / 320.1 MB, free: 39.69 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.002765, allocations: 0 / 320.1 MB, free: 39.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.000106/0.002871, allocations: 49.58 kB / 320.2 MB, free: 39.63 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.002893, allocations: 110.8 kB / 320.3 MB, free: 39.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.764e-05/0.002931, allocations: 158.2 kB / 320.5 MB, free: 39.33 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.002e-06/0.002937, allocations: 29.7 kB / 320.5 MB, free: 39.29 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.194e-05/0.002959, allocations: 130.8 kB / 320.6 MB, free: 39.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.002972, allocations: 7.938 kB / 320.6 MB, free: 39.15 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.002995, allocations: 27.36 kB / 320.6 MB, free: 39.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.257e-05/0.003038, allocations: 496.1 kB / 321.1 MB, free: 38.62 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.00305, allocations: 7.688 kB / 321.1 MB, free: 38.61 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.994e-05/0.00307, allocations: 60.75 kB / 321.2 MB, free: 38.53 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.459e-05/0.003095, allocations: 27.31 kB / 321.2 MB, free: 38.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.003096, allocations: 4.031 kB / 321.2 MB, free: 38.49 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.494e-05/0.003141, allocations: 45.64 kB / 321.3 MB, free: 38.44 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.00315, allocations: 4 kB / 321.3 MB, free: 38.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.003154, allocations: 0 / 321.3 MB, free: 38.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.003165, allocations: 3.938 kB / 321.3 MB, free: 38.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.643e-05/0.003211, allocations: 11.98 kB / 321.3 MB, free: 38.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.003214, allocations: 0 / 321.3 MB, free: 38.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/0.003234, allocations: 4 kB / 321.3 MB, free: 38.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.00324, allocations: 7.984 kB / 321.3 MB, free: 38.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 2.414e-05/0.003264, allocations: 138.9 kB / 321.4 MB, free: 38.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 1.389e-05/0.003278, allocations: 52.77 kB / 321.5 MB, free: 38.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.229e-05/0.00329, allocations: 23.31 kB / 321.5 MB, free: 38.17 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.11e-07/0.003291, allocations: 4 kB / 321.5 MB, free: 38.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 2.902e-05/0.00332, allocations: 45.64 kB / 321.6 MB, free: 38.11 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.609e-06/0.003324, allocations: 10.19 kB / 321.6 MB, free: 38.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-06/0.003326, allocations: 6.438 kB / 321.6 MB, free: 38.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.62e-07/0.003326, allocations: 4.094 kB / 321.6 MB, free: 38.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.164e-05/0.003338, allocations: 4 kB / 321.6 MB, free: 38.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.91e-07/0.003339, allocations: 3.938 kB / 321.6 MB, free: 38.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.376e-05/0.003353, allocations: 11.92 kB / 321.6 MB, free: 38.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-06/0.003354, allocations: 4 kB / 321.6 MB, free: 38.07 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.607e-05/0.00339, allocations: 264.1 kB / 321.9 MB, free: 37.81 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.003403, allocations: 7.938 kB / 321.9 MB, free: 37.8 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.003423, allocations: 7.312 kB / 321.9 MB, free: 37.8 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.003424, allocations: 3.938 kB / 321.9 MB, free: 37.79 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.003426, allocations: 4 kB / 321.9 MB, free: 37.79 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.003428, allocations: 4 kB / 321.9 MB, free: 37.79 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.652e-05/0.003495, allocations: 97.25 kB / 322 MB, free: 37.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.003495, allocations: 0 / 322 MB, free: 37.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.668e-05/0.003512, allocations: 8 kB / 322 MB, free: 37.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.41e-07/0.003513, allocations: 0 / 322 MB, free: 37.66 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.003517, allocations: 4 kB / 322 MB, free: 37.65 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.003518, allocations: 0 / 322 MB, free: 37.65 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.003519, allocations: 0 / 322 MB, free: 37.65 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.003695, allocations: 1.395 MB / 323.4 MB, free: 36.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.623e-06/0.003701, allocations: 0 / 323.4 MB, free: 36.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.003711, allocations: 12.86 kB / 323.4 MB, free: 36.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.163e-05/0.003742, allocations: 4 kB / 323.4 MB, free: 36.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.003769, allocations: 7.984 kB / 323.4 MB, free: 36.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.003771, allocations: 0 / 323.4 MB, free: 36.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.423e-05/0.003785, allocations: 123.6 kB / 323.5 MB, free: 36.03 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003785, allocations: 0 / 323.5 MB, free: 36.03 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000289/0.004074, allocations: 8 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 5.298e-05/0.004127, allocations: 91.25 kB / 323.6 MB, free: 35.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.777e-05/0.004205, allocations: 51.28 kB / 323.7 MB, free: 35.87 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.004206, allocations: 0 / 323.7 MB, free: 35.87 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.437e-05/0.00422, allocations: 11.83 kB / 323.7 MB, free: 35.85 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.004358, allocations: 12.47 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.0001909/0.004549, allocations: 287.9 kB / 324 MB, free: 35.51 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.844e-05/0.004567, allocations: 59.34 kB / 324 MB, free: 35.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.334e-05/0.004591, allocations: 12.36 kB / 324.1 MB, free: 35.42 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.004625, allocations: 70.2 kB / 324.1 MB, free: 35.35 MB / 282.7 MB Notification: Performance of SimCode: time 3.5e-07/0.004625, allocations: 0 / 324.1 MB, free: 35.35 MB / 282.7 MB Notification: Performance of Templates: time 0.001774/0.006399, allocations: 0.7741 MB / 324.9 MB, free: 34.59 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.5994695527479053]