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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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=160,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=160,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 113.5 kB / 16.42 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 185.4 kB / 17.35 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.27/1.27, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06113/0.06113, allocations: 14.17 MB / 284.8 MB, free: 13.85 MB / 238.1 MB 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.001371/0.001371, allocations: 76.98 kB / 397.2 MB, free: 43.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06528/0.06666, allocations: 50.13 MB / 447.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001672/0.06837, allocations: 0.6707 MB / 448 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001998/0.06858, allocations: 64.14 kB / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/0.06863, allocations: 0 / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.307e-05/0.06867, allocations: 3.938 kB / 448 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.796e-05/0.06874, allocations: 7.922 kB / 448 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.06887, allocations: 11.98 kB / 448 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.837e-05/0.06896, allocations: 35.86 kB / 448.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.307e-05/0.06905, allocations: 4 kB / 448.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.757e-05/0.06908, allocations: 11.98 kB / 448.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.2e-05/0.06914, allocations: 19.91 kB / 448.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.06916, allocations: 4 kB / 448.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.06918, allocations: 4 kB / 448.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.0692, allocations: 0 / 448.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.06923, allocations: 11.92 kB / 448.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.623e-05/0.0693, allocations: 23.92 kB / 448.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.06931, allocations: 4 kB / 448.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.06931, allocations: 0 / 448.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.06932, allocations: 0 / 448.2 MB, free: 12.8 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.0003544/0.06968, allocations: 331.5 kB / 448.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.06972, allocations: 12.03 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.06976, allocations: 4.875 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.0699, allocations: 176.3 kB / 448.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.06992, allocations: 384 / 448.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.06993, allocations: 8.312 kB / 448.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.07012, allocations: 72.81 kB / 448.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.07013, allocations: 192 / 448.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.07015, allocations: 7.938 kB / 448.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.07016, allocations: 0 / 448.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.07032, allocations: 39.89 kB / 448.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.07066, allocations: 265.8 kB / 449.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.07085, allocations: 73.12 kB / 449.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.867e-05/0.07096, allocations: 37.69 kB / 449.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.07099, allocations: 0 / 449.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.07102, allocations: 42.56 kB / 449.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.07102, allocations: 0 / 449.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.00034/0.07137, allocations: 89.58 kB / 449.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.07143, allocations: 102.8 kB / 449.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.189e-05/0.07149, allocations: 93.86 kB / 449.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.07152, allocations: 29.95 kB / 449.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.669e-05/0.07156, allocations: 92.12 kB / 449.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.07158, allocations: 11.75 kB / 449.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.07162, allocations: 13.72 kB / 449.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.23e-05/0.07172, allocations: 314.8 kB / 449.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.986e-05/0.07182, allocations: 24.84 kB / 450 MB, free: 10.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.872e-05/0.07191, allocations: 38.55 kB / 450 MB, free: 10.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.07207, allocations: 49.62 kB / 450.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.07209, allocations: 4 kB / 450.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002071/0.0723, allocations: 81.78 kB / 450.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.07232, allocations: 8 kB / 450.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.07233, allocations: 0 / 450.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.07235, allocations: 0 / 450.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.975e-05/0.07244, allocations: 11.98 kB / 450.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.07245, allocations: 0 / 450.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.868e-05/0.07252, allocations: 11.98 kB / 450.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.07253, allocations: 0 / 450.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.355e-05/0.07261, allocations: 96.19 kB / 450.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.746e-05/0.07267, allocations: 26.56 kB / 450.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.62e-05/0.07276, allocations: 25.66 kB / 450.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.92e-07/0.07276, allocations: 0 / 450.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.000123/0.07289, allocations: 57.66 kB / 450.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.268e-06/0.07291, allocations: 11.98 kB / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-06/0.07292, allocations: 0 / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-06/0.07292, allocations: 3.938 kB / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.638e-05/0.07297, allocations: 4 kB / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.07298, allocations: 11.92 kB / 450.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.948e-05/0.07302, allocations: 4 kB / 450.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.07303, allocations: 4 kB / 450.4 MB, free: 10.25 MB / 334.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 8.083e-05/0.07312, allocations: 184.3 kB / 450.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.07315, allocations: 11.84 kB / 450.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.303e-05/0.07318, allocations: 11.08 kB / 450.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.07318, allocations: 0 / 450.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.07319, allocations: 0 / 450.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/0.07322, allocations: 81.11 kB / 450.7 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.07324, allocations: 0 / 450.7 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.455e-05/0.07333, allocations: 11.98 kB / 450.7 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.07338, allocations: 7.938 kB / 450.7 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002696/0.07365, allocations: 236.1 kB / 450.9 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002747/0.07394, allocations: 318.1 kB / 451.3 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.424e-05/0.07404, allocations: 27.92 kB / 451.3 MB, free: 9.324 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.091e-05/0.07408, allocations: 79.27 kB / 451.4 MB, free: 9.246 MB / 334.1 MB Notification: Performance of Backend: time 2e-07/0.07408, allocations: 0 / 451.4 MB, free: 9.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005027/0.07459, allocations: 117.8 kB / 451.5 MB, free: 9.125 MB / 334.1 MB Notification: Performance of SimCode: time 0.0003681/0.07497, allocations: 0.5525 MB / 452 MB, free: 8.523 MB / 334.1 MB Notification: Performance of Templates: time 0.002553/0.07753, allocations: 0.7828 MB / 452.8 MB, free: 7.746 MB / 334.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.makefile (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) 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) Reference file matches