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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 186 kB / 22.22 MB, free: 5.164 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.531/1.531, allocations: 207.6 MB / 233 MB, free: 9.996 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.07451/0.07451, allocations: 14.39 MB / 299.6 MB, free: 7.453 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 71.89 kB / 421.1 MB, free: 38.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09318/0.09541, allocations: 52.89 MB / 474 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002269/0.09768, allocations: 0.6818 MB / 474.6 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002467/0.09793, allocations: 71.72 kB / 474.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.582e-05/0.09796, allocations: 4 kB / 474.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.86e-05/0.09799, allocations: 3.938 kB / 474.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.219e-05/0.09806, allocations: 3.984 kB / 474.7 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000147/0.09821, allocations: 19.94 kB / 474.7 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.615e-05/0.0983, allocations: 23.98 kB / 474.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.034e-05/0.0984, allocations: 3.984 kB / 474.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.425e-05/0.09843, allocations: 11.98 kB / 474.8 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.455e-05/0.09848, allocations: 15.92 kB / 474.8 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.0985, allocations: 7.938 kB / 474.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.36e-05/0.09851, allocations: 4 kB / 474.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.09854, allocations: 11.98 kB / 474.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.09857, allocations: 7.938 kB / 474.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.923e-05/0.09865, allocations: 19.86 kB / 474.9 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.09865, allocations: 0 / 474.9 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09865, allocations: 0 / 474.9 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.09866, allocations: 7.938 kB / 474.9 MB, free: 0.9375 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.0004199/0.09908, allocations: 258.3 kB / 475.1 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.09911, allocations: 8.031 kB / 475.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.09915, allocations: 4.938 kB / 475.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.09931, allocations: 114.5 kB / 475.2 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.09932, allocations: 4.375 kB / 475.2 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.09933, allocations: 384 / 475.2 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.09954, allocations: 72.75 kB / 475.3 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.09955, allocations: 4.172 kB / 475.3 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.09957, allocations: 7.938 kB / 475.3 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.09957, allocations: 0 / 475.3 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.09976, allocations: 43.95 kB / 475.4 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.1002, allocations: 240.9 kB / 475.6 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.1004, allocations: 69.12 kB / 475.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.1005, allocations: 33.75 kB / 475.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.1005, allocations: 0 / 475.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.1005, allocations: 38.5 kB / 475.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1005, allocations: 4 kB / 475.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.000442/0.101, allocations: 93.53 kB / 475.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8e-05/0.1011, allocations: 102.8 kB / 475.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.773e-05/0.1012, allocations: 101.8 kB / 476 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.1012, allocations: 29.7 kB / 476.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.1012, allocations: 84.39 kB / 476.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.1012, allocations: 15.88 kB / 476.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.1013, allocations: 13.72 kB / 476.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1014, allocations: 314.8 kB / 476.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.1015, allocations: 20.84 kB / 476.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.1016, allocations: 42.55 kB / 476.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.1018, allocations: 49.62 kB / 476.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1018, allocations: 0 / 476.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000235/0.1021, allocations: 81.66 kB / 476.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1021, allocations: 4 kB / 476.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1021, allocations: 0 / 476.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1021, allocations: 0 / 476.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.1022, allocations: 15.92 kB / 476.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1022, allocations: 0 / 476.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.743e-05/0.1023, allocations: 15.95 kB / 476.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1023, allocations: 0 / 476.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.172e-05/0.1024, allocations: 92.12 kB / 476.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.943e-05/0.1024, allocations: 30.59 kB / 476.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.441e-05/0.1025, allocations: 21.72 kB / 476.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.1025, allocations: 4 kB / 476.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001481/0.1027, allocations: 61.5 kB / 476.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.096e-06/0.1027, allocations: 8.094 kB / 476.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-06/0.1027, allocations: 0 / 476.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.298e-06/0.1027, allocations: 3.984 kB / 476.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.355e-05/0.1027, allocations: 8 kB / 476.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.1027, allocations: 0 / 476.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.1028, allocations: 4 kB / 476.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-06/0.1028, allocations: 0 / 476.9 MB, free: 14.59 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.0001094/0.1029, allocations: 188.1 kB / 477.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.1029, allocations: 7.984 kB / 477.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.233e-05/0.1029, allocations: 11.27 kB / 477.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1029, allocations: 0 / 477.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1029, allocations: 4 kB / 477.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1029, allocations: 0 / 477.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.1031, allocations: 136.6 kB / 477.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1031, allocations: 3.984 kB / 477.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.48e-05/0.1032, allocations: 8 kB / 477.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1032, allocations: 4 kB / 477.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.1032, allocations: 0 / 477.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1032, allocations: 0 / 477.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1032, allocations: 4 kB / 477.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.1035, allocations: 180.6 kB / 477.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.1035, allocations: 11.92 kB / 477.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.1035, allocations: 0 / 477.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.819e-05/0.1036, allocations: 8 kB / 477.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.1036, allocations: 11.98 kB / 477.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.1037, allocations: 0 / 477.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.082e-05/0.1037, allocations: 79.28 kB / 477.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1037, allocations: 0 / 477.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.104, allocations: 4 kB / 477.6 MB, free: 13.88 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.0001088/0.1041, allocations: 99.23 kB / 477.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003155/0.1044, allocations: 55.89 kB / 477.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1044, allocations: 4 kB / 477.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.1045, allocations: 19.98 kB / 477.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.1047, allocations: 7.938 kB / 477.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003812/0.1051, allocations: 126 kB / 477.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.1054, allocations: 0.6768 MB / 478.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.845e-05/0.1055, allocations: 8 kB / 478.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.1055, allocations: 7.438 kB / 478.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1055, allocations: 0 / 478.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of Templates: time 0.003328/0.1089, allocations: 0.6619 MB / 479.2 MB, free: 12.15 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/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: 4.707544771954417]