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.001796/0.001796, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001566/0.001566, allocations: 218 kB / 23.01 MB, free: 4.605 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.466/1.466, allocations: 207.6 MB / 233.8 MB, free: 10.01 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.07074/0.07074, allocations: 14.4 MB / 300.4 MB, free: 7.535 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.002208/0.002208, allocations: 74.72 kB / 421.9 MB, free: 38.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07165/0.07385, allocations: 52.9 MB / 474.8 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001987/0.07584, allocations: 0.6895 MB / 475.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002489/0.07609, allocations: 63.73 kB / 475.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.675e-05/0.07614, allocations: 0 / 475.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/0.07616, allocations: 3.984 kB / 475.5 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.232e-05/0.07624, allocations: 7.938 kB / 475.5 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.07639, allocations: 19.98 kB / 475.6 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.881e-05/0.07649, allocations: 27.92 kB / 475.6 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.351e-05/0.07658, allocations: 4 kB / 475.6 MB, free: 1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.707e-05/0.07662, allocations: 11.98 kB / 475.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.085e-05/0.07668, allocations: 19.91 kB / 475.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.07669, allocations: 0 / 475.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-06/0.0767, allocations: 4 kB / 475.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.07672, allocations: 4 kB / 475.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.64e-05/0.07675, allocations: 15.88 kB / 475.6 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.533e-05/0.07683, allocations: 23.84 kB / 475.7 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.07683, allocations: 0 / 475.7 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.07683, allocations: 4 kB / 475.7 MB, free: 0.918 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.07684, allocations: 0 / 475.7 MB, free: 0.918 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.0004131/0.07725, allocations: 254.4 kB / 475.9 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.07729, allocations: 16.02 kB / 475.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.07732, allocations: 0.9375 kB / 475.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.07747, allocations: 110.5 kB / 476 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.07748, allocations: 384 / 476 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.07749, allocations: 384 / 476 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.07771, allocations: 88.73 kB / 476.1 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.07771, allocations: 192 / 476.1 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.07773, allocations: 7.938 kB / 476.1 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.07774, allocations: 3.984 kB / 476.1 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.07791, allocations: 31.97 kB / 476.2 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.07828, allocations: 244.9 kB / 476.4 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.07849, allocations: 69.06 kB / 476.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.07859, allocations: 33.77 kB / 476.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.07861, allocations: 4 kB / 476.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.07864, allocations: 30.56 kB / 476.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.07864, allocations: 3.938 kB / 476.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003654/0.07901, allocations: 101.7 kB / 476.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/0.07909, allocations: 114.8 kB / 476.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.533e-05/0.07917, allocations: 97.84 kB / 476.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.07919, allocations: 25.7 kB / 476.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.07924, allocations: 84.14 kB / 477 MB, free: 15.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.07926, allocations: 11.89 kB / 477 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.07929, allocations: 9.719 kB / 477 MB, free: 15.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.07943, allocations: 326.9 kB / 477.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.504e-05/0.07953, allocations: 16.84 kB / 477.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.507e-05/0.07962, allocations: 38.56 kB / 477.4 MB, free: 15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.07978, allocations: 49.72 kB / 477.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.07979, allocations: 0 / 477.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002212/0.08001, allocations: 77.53 kB / 477.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.08002, allocations: 4 kB / 477.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.08002, allocations: 0 / 477.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.08004, allocations: 4 kB / 477.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.996e-05/0.08013, allocations: 16.05 kB / 477.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.08013, allocations: 0 / 477.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.496e-05/0.08019, allocations: 11.94 kB / 477.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-06/0.0802, allocations: 0 / 477.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.186e-05/0.08028, allocations: 92.14 kB / 477.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.006e-05/0.08033, allocations: 26.5 kB / 477.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.106e-05/0.08041, allocations: 33.73 kB / 477.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.02e-07/0.08041, allocations: 0 / 477.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001288/0.08054, allocations: 57.56 kB / 477.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.08056, allocations: 4 kB / 477.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-06/0.08056, allocations: 0 / 477.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-06/0.08056, allocations: 4 kB / 477.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.715e-05/0.0806, allocations: 4 kB / 477.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-06/0.0806, allocations: 4.062 kB / 477.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.324e-05/0.08065, allocations: 7.984 kB / 477.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-06/0.08065, allocations: 0 / 477.7 MB, free: 14.57 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.0001019/0.08075, allocations: 188.2 kB / 477.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.08077, allocations: 0 / 477.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.0808, allocations: 11.27 kB / 477.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.0808, allocations: 0 / 477.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.0808, allocations: 3.938 kB / 477.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.0808, allocations: 0 / 477.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.08098, allocations: 144.7 kB / 478.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.08098, allocations: 0 / 478.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.727e-05/0.08105, allocations: 19.92 kB / 478.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.08105, allocations: 3.938 kB / 478.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.08106, allocations: 0 / 478.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.08106, allocations: 4 kB / 478.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.08106, allocations: 0 / 478.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.08132, allocations: 180.6 kB / 478.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-06/0.08133, allocations: 0 / 478.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.08134, allocations: 0 / 478.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.621e-05/0.08143, allocations: 11.98 kB / 478.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.08147, allocations: 8.031 kB / 478.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.08147, allocations: 0 / 478.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.599e-05/0.08153, allocations: 91.2 kB / 478.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.08153, allocations: 0 / 478.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.08181, allocations: 12 kB / 478.4 MB, free: 13.84 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 9.452e-05/0.0819, allocations: 91.25 kB / 478.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.08217, allocations: 51.89 kB / 478.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.08218, allocations: 256 / 478.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.979e-05/0.08226, allocations: 27.98 kB / 478.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.08248, allocations: 3.938 kB / 478.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.08285, allocations: 151.4 kB / 478.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.08316, allocations: 0.6729 MB / 479.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.08319, allocations: 11.56 kB / 479.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.08319, allocations: 0 / 479.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of Templates: time 0.002115/0.08531, allocations: 0.656 MB / 480.1 MB, free: 12.1 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.671024366980419]