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.00144/0.00144, allocations: 72.95 kB / 20.73 MB, free: 3.762 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.001618/0.001618, allocations: 173 kB / 24.15 MB, free: 352 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.946/0.946, 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.04107/0.04107, allocations: 10.65 MB / 249 MB, free: 4.367 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.523e-06/1.523e-06, allocations: 0 / 269.2 MB, free: 156 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.593e-05, allocations: 2.312 kB / 269.2 MB, free: 152 kB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001271/0.001287, allocations: 0.7174 MB / 269.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002207/0.001507, allocations: 59.8 kB / 270 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.523e-05/0.001543, allocations: 0 / 270 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.001569, allocations: 3.938 kB / 270 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.541e-05/0.001654, allocations: 0 / 270 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.001797, allocations: 19.92 kB / 270 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.838e-05/0.001895, allocations: 31.92 kB / 270 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.52e-05/0.00197, allocations: 4 kB / 270 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.088e-05/0.002021, allocations: 11.98 kB / 270 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.002086, allocations: 15.92 kB / 270.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.002111, allocations: 4 kB / 270.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/0.002121, allocations: 0 / 270.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.002143, allocations: 11.97 kB / 270.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.002163, allocations: 4 kB / 270.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.616e-05/0.00225, allocations: 19.92 kB / 270.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.002251, allocations: 0 / 270.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.002252, allocations: 0 / 270.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.002256, allocations: 4 kB / 270.1 MB, free: 15.24 MB / 266.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.0002804/0.002536, allocations: 236.9 kB / 270.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.002571, allocations: 8.031 kB / 270.3 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.0026, allocations: 8.922 kB / 270.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.002704, allocations: 109.7 kB / 270.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.002717, allocations: 384 / 270.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.00273, allocations: 4.375 kB / 270.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.002889, allocations: 103.2 kB / 270.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.002896, allocations: 192 / 270.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.002904, allocations: 384 / 270.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.002909, allocations: 4.375 kB / 270.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.971e-05/0.002939, allocations: 19.84 kB / 270.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002251/0.003164, allocations: 157.2 kB / 270.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.806e-05/0.003232, allocations: 53.12 kB / 270.8 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/0.003255, allocations: 17.84 kB / 270.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.003272, allocations: 4 kB / 270.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.003296, allocations: 30.56 kB / 270.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.003297, allocations: 4 kB / 270.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001251/0.003422, allocations: 53.62 kB / 270.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.003475, allocations: 106.8 kB / 271 MB, free: 14.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.476e-05/0.00353, allocations: 98.72 kB / 271.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.003542, allocations: 25.7 kB / 271.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.003577, allocations: 88.11 kB / 271.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.003596, allocations: 11.91 kB / 271.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.003623, allocations: 17.72 kB / 271.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.003714, allocations: 315 kB / 271.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.003731, allocations: 12.86 kB / 271.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.777e-05/0.003769, allocations: 52.2 kB / 271.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.753e-05/0.003797, allocations: 21.7 kB / 271.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.003798, allocations: 0 / 271.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.336e-05/0.003852, allocations: 45.62 kB / 271.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.003862, allocations: 8 kB / 271.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.003867, allocations: 0 / 271.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.003878, allocations: 4.094 kB / 271.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.366e-05/0.003942, allocations: 15.92 kB / 271.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.003946, allocations: 0 / 271.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.227e-05/0.003969, allocations: 4 kB / 271.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-06/0.003974, allocations: 4 kB / 271.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.418e-05/0.004009, allocations: 88.12 kB / 271.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.264e-05/0.004031, allocations: 48.28 kB / 271.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.804e-05/0.004049, allocations: 17.66 kB / 271.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.4e-07/0.00405, allocations: 4.031 kB / 271.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 3.286e-05/0.004082, allocations: 45.62 kB / 271.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.967e-06/0.004086, allocations: 4 kB / 271.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.51e-07/0.004087, allocations: 0 / 271.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-06/0.004089, allocations: 4 kB / 271.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.28e-05/0.004101, allocations: 7.984 kB / 271.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.004104, allocations: 3.938 kB / 271.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.31e-05/0.004117, allocations: 4 kB / 271.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.71e-07/0.004118, allocations: 0 / 271.9 MB, free: 13.15 MB / 266.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 6.191e-05/0.00418, allocations: 188.3 kB / 272.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.004193, allocations: 4 kB / 272.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.004217, allocations: 11.3 kB / 272.1 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.004218, allocations: 0 / 272.1 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.00422, allocations: 3.938 kB / 272.1 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.004223, allocations: 0 / 272.1 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.646e-05/0.0043, allocations: 69.89 kB / 272.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.0043, allocations: 0 / 272.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.737e-05/0.004317, allocations: 7.984 kB / 272.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.11e-07/0.004318, allocations: 4 kB / 272.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-06/0.004322, allocations: 0 / 272.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.004323, allocations: 11.88 kB / 272.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.004324, allocations: 0 / 272.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.004633, allocations: 0.9231 MB / 273.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.004642, allocations: 3.953 kB / 273.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.848e-06/0.004652, allocations: 3.984 kB / 273.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.166e-05/0.004684, allocations: 4 kB / 273.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.004719, allocations: 11.97 kB / 273.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.004721, allocations: 0 / 273.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.258e-05/0.004733, allocations: 12.84 kB / 273.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004733, allocations: 4 kB / 273.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002494/0.004983, allocations: 12 kB / 273.2 MB, free: 11.79 MB / 266.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.276e-05/0.005045, allocations: 72.42 kB / 273.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.44e-05/0.00512, allocations: 33.64 kB / 273.3 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.005122, allocations: 0 / 273.3 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.588e-05/0.005138, allocations: 12.8 kB / 273.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000105/0.005243, allocations: 11.94 kB / 273.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/0.005486, allocations: 220.7 kB / 273.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.86e-05/0.005515, allocations: 51.36 kB / 273.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.411e-05/0.005549, allocations: 11.98 kB / 273.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.401e-05/0.005603, allocations: 59.38 kB / 273.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of SimCode: time 3.2e-07/0.005603, allocations: 0 / 273.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of Templates: time 0.002161/0.007765, allocations: 0.7233 MB / 274.4 MB, free: 10.52 MB / 266.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.832231074105948]