Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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.001597/0.001597, allocations: 104.3 kB / 19.7 MB, free: 2.004 MB / 14.72 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.00175/0.00175, allocations: 221 kB / 23 MB, free: 4.918 MB / 14.72 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 1.411/1.411, allocations: 207.7 MB / 233.8 MB, free: 9.949 MB / 190.1 MB " [Timeout remaining time 178] 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.07089/0.07089, allocations: 14.39 MB / 300.5 MB, free: 7.273 MB / 238.1 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_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_PowerGrids.Controls.Test.TestDeadBand") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 67.89 kB / 421.9 MB, free: 38.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07396/0.07622, allocations: 52.91 MB / 474.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001927/0.07814, allocations: 0.674 MB / 475.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000239/0.07838, allocations: 63.73 kB / 475.5 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.07842, allocations: 4 kB / 475.5 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.07844, allocations: 0 / 475.5 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.259e-05/0.07851, allocations: 11.94 kB / 475.5 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.07865, allocations: 15.98 kB / 475.5 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.845e-05/0.07875, allocations: 23.92 kB / 475.6 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.518e-05/0.07884, allocations: 11.98 kB / 475.6 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.262e-05/0.07887, allocations: 11.94 kB / 475.6 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.18e-05/0.07893, allocations: 11.97 kB / 475.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.07894, allocations: 0 / 475.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.306e-06/0.07895, allocations: 4 kB / 475.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.07897, allocations: 11.94 kB / 475.6 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.07899, allocations: 11.98 kB / 475.6 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.502e-05/0.07907, allocations: 19.86 kB / 475.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.07907, allocations: 0 / 475.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.07907, allocations: 0 / 475.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.07908, allocations: 0 / 475.6 MB, free: 0.7461 MB / 334.1 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.0004366/0.07951, allocations: 258.3 kB / 475.9 MB, free: 472 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.07955, allocations: 12.03 kB / 475.9 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.07957, allocations: 0.9375 kB / 475.9 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.07974, allocations: 118.5 kB / 476 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.71e-06/0.07975, allocations: 4.375 kB / 476 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.07976, allocations: 4.375 kB / 476 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.07999, allocations: 98.52 kB / 476.1 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.07999, allocations: 192 / 476.1 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.08001, allocations: 3.938 kB / 476.1 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.08001, allocations: 3.938 kB / 476.1 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.08018, allocations: 43.89 kB / 476.2 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.08055, allocations: 213.6 kB / 476.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.08073, allocations: 69.12 kB / 476.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.08084, allocations: 33.7 kB / 476.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.08087, allocations: 3.938 kB / 476.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.0809, allocations: 38.55 kB / 476.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.885e-06/0.0809, allocations: 3.984 kB / 476.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003652/0.08126, allocations: 93.55 kB / 476.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.781e-05/0.08134, allocations: 106.8 kB / 476.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.59e-05/0.08143, allocations: 101.8 kB / 476.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.08144, allocations: 25.7 kB / 476.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.0815, allocations: 80.14 kB / 476.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.08152, allocations: 11.89 kB / 476.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.08156, allocations: 21.95 kB / 477 MB, free: 15.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.08171, allocations: 314.8 kB / 477.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.516e-05/0.0818, allocations: 24.84 kB / 477.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.08193, allocations: 68.19 kB / 477.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.08209, allocations: 45.69 kB / 477.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.08209, allocations: 0 / 477.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002097/0.0823, allocations: 77.58 kB / 477.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.08232, allocations: 4 kB / 477.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.08232, allocations: 3.984 kB / 477.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.08234, allocations: 0 / 477.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.187e-05/0.08243, allocations: 8 kB / 477.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.08244, allocations: 0 / 477.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.0825, allocations: 20 kB / 477.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.08251, allocations: 4 kB / 477.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.434e-05/0.0826, allocations: 88.12 kB / 477.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.146e-05/0.08267, allocations: 52.28 kB / 477.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.674e-05/0.08276, allocations: 33.64 kB / 477.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.61e-07/0.08276, allocations: 0 / 477.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001293/0.08289, allocations: 49.78 kB / 477.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.08291, allocations: 18.22 kB / 477.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-06/0.08291, allocations: 0 / 477.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.877e-06/0.08291, allocations: 4 kB / 477.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.233e-05/0.08295, allocations: 7.984 kB / 477.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-06/0.08295, allocations: 0 / 477.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.002e-05/0.08299, allocations: 4 kB / 477.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.083, allocations: 4 kB / 477.8 MB, free: 14.34 MB / 350.1 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 0.0001133/0.08311, allocations: 184.2 kB / 478 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.08314, allocations: 3.938 kB / 478 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.08317, allocations: 23.2 kB / 478 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.08318, allocations: 3.984 kB / 478 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.08318, allocations: 0 / 478 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.08318, allocations: 0 / 478 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.08333, allocations: 105.3 kB / 478.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.08333, allocations: 0 / 478.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.685e-05/0.08339, allocations: 11.98 kB / 478.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.0834, allocations: 3.938 kB / 478.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.0834, allocations: 0 / 478.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.08341, allocations: 0 / 478.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.08341, allocations: 0 / 478.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.08368, allocations: 184.3 kB / 478.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-06/0.08369, allocations: 3.938 kB / 478.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.0837, allocations: 3.984 kB / 478.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.294e-05/0.08379, allocations: 8 kB / 478.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.08383, allocations: 7.984 kB / 478.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.08384, allocations: 4 kB / 478.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.33e-05/0.08388, allocations: 75.7 kB / 478.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08388, allocations: 0 / 478.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.08416, allocations: 16 kB / 478.4 MB, free: 13.65 MB / 350.1 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 0.0001033/0.08426, allocations: 91.25 kB / 478.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.08453, allocations: 51.89 kB / 478.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.08454, allocations: 0 / 478.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.08464, allocations: 36.22 kB / 478.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.08486, allocations: 0 / 478.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003838/0.08524, allocations: 151.5 kB / 478.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.313e-05/0.0853, allocations: 63.34 kB / 478.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.08534, allocations: 11.44 kB / 478.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.08534, allocations: 0 / 478.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of Templates: time 0.002346/0.08769, allocations: 0.656 MB / 479.4 MB, free: 12.53 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.596955640241504]