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.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_symb_jac_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_symb_jac_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.002085/0.002085, allocations: 108.1 kB / 16.42 MB, free: 6.504 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.002429/0.002429, allocations: 185.5 kB / 17.35 MB, free: 5.758 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.606/1.606, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06707/0.06707, allocations: 14.16 MB / 284.7 MB, free: 13.87 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.002058/0.002058, allocations: 74.84 kB / 397.2 MB, free: 43.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08451/0.08657, allocations: 50.13 MB / 447.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001921/0.08853, allocations: 0.6785 MB / 448 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002444/0.08879, allocations: 60.14 kB / 448 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.543e-05/0.08885, allocations: 0 / 448 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.82e-05/0.08888, allocations: 3.938 kB / 448 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.413e-05/0.08898, allocations: 7.984 kB / 448 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.08915, allocations: 27.91 kB / 448.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.828e-05/0.08925, allocations: 23.92 kB / 448.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.601e-05/0.08936, allocations: 4 kB / 448.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.357e-05/0.08939, allocations: 15.92 kB / 448.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.292e-05/0.08946, allocations: 19.92 kB / 448.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.08949, allocations: 4 kB / 448.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.946e-06/0.0895, allocations: 0 / 448.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.08952, allocations: 0 / 448.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.08956, allocations: 11.94 kB / 448.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.393e-05/0.08965, allocations: 27.89 kB / 448.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.08966, allocations: 3.938 kB / 448.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.08967, allocations: 0 / 448.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.08968, allocations: 0 / 448.2 MB, free: 12.68 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.0005233/0.09021, allocations: 339.5 kB / 448.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.09025, allocations: 12.03 kB / 448.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.09029, allocations: 0.9375 kB / 448.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.09049, allocations: 168.4 kB / 448.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.09051, allocations: 384 / 448.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.09052, allocations: 384 / 448.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.09075, allocations: 76.75 kB / 448.8 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.09077, allocations: 8.172 kB / 448.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.09078, allocations: 3.938 kB / 448.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.0908, allocations: 4 kB / 448.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.09097, allocations: 31.97 kB / 448.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.09139, allocations: 269.8 kB / 449.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.09159, allocations: 69.12 kB / 449.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.0917, allocations: 33.77 kB / 449.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.09173, allocations: 3.938 kB / 449.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.09177, allocations: 42.55 kB / 449.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.09177, allocations: 0 / 449.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003847/0.09216, allocations: 93.55 kB / 449.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.09224, allocations: 106.8 kB / 449.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.378e-05/0.09233, allocations: 98.11 kB / 449.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.09236, allocations: 25.7 kB / 449.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.09241, allocations: 84.14 kB / 449.6 MB, free: 11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.09244, allocations: 11.89 kB / 449.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.0925, allocations: 21.7 kB / 449.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.09263, allocations: 310.8 kB / 450 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.4e-05/0.09273, allocations: 20.84 kB / 450 MB, free: 10.63 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.572e-05/0.09284, allocations: 42.55 kB / 450 MB, free: 10.58 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.09302, allocations: 49.62 kB / 450.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-06/0.09303, allocations: 0 / 450.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002133/0.09325, allocations: 73.64 kB / 450.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.09327, allocations: 7.984 kB / 450.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.09329, allocations: 11.94 kB / 450.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.09331, allocations: 3.938 kB / 450.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.212e-05/0.0934, allocations: 8 kB / 450.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.09342, allocations: 0 / 450.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.196e-05/0.09348, allocations: 15.88 kB / 450.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.0935, allocations: 8.062 kB / 450.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.006e-05/0.0936, allocations: 92.12 kB / 450.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.58e-05/0.09366, allocations: 22.56 kB / 450.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.36e-05/0.09375, allocations: 29.7 kB / 450.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.22e-07/0.09376, allocations: 0 / 450.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001415/0.0939, allocations: 61.59 kB / 450.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.655e-06/0.09392, allocations: 4 kB / 450.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-06/0.09393, allocations: 4 kB / 450.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-06/0.09393, allocations: 0 / 450.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.035e-05/0.09398, allocations: 7.984 kB / 450.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-06/0.09398, allocations: 0 / 450.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.274e-05/0.09403, allocations: 8 kB / 450.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.09404, allocations: 4 kB / 450.4 MB, free: 10.14 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 0.0001144/0.09417, allocations: 188.2 kB / 450.6 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.0942, allocations: 4 kB / 450.6 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.09423, allocations: 15.06 kB / 450.6 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.09423, allocations: 0 / 450.6 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.09424, allocations: 0 / 450.6 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.09425, allocations: 0 / 450.6 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.09444, allocations: 165.6 kB / 450.8 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.09445, allocations: 0 / 450.8 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.291e-05/0.09452, allocations: 11.98 kB / 450.8 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.09453, allocations: 4 kB / 450.8 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.09454, allocations: 0 / 450.8 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.09455, allocations: 4 kB / 450.8 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.09455, allocations: 384 / 450.8 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007624/0.09532, allocations: 0.9696 MB / 451.8 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.09538, allocations: 81.11 kB / 451.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.0954, allocations: 7.922 kB / 451.9 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.012e-05/0.0955, allocations: 11.94 kB / 451.9 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.09555, allocations: 7.922 kB / 451.9 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.09556, allocations: 4 kB / 451.9 MB, free: 8.531 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.405e-05/0.09561, allocations: 87.22 kB / 452 MB, free: 8.445 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09562, allocations: 0 / 452 MB, free: 8.445 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004945/0.09612, allocations: 8 kB / 452 MB, free: 8.438 MB / 334.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.0001009/0.09622, allocations: 91.25 kB / 452.1 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002799/0.09651, allocations: 64.02 kB / 452.1 MB, free: 8.273 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.09652, allocations: 0 / 452.1 MB, free: 8.273 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.15e-05/0.09661, allocations: 19.97 kB / 452.1 MB, free: 8.254 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.09683, allocations: 8.781 kB / 452.2 MB, free: 8.246 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004166/0.09726, allocations: 220.7 kB / 452.4 MB, free: 7.988 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.09758, allocations: 0.6807 MB / 453 MB, free: 7.281 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.137e-05/0.09763, allocations: 0 / 453 MB, free: 7.281 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.09766, allocations: 11.44 kB / 453.1 MB, free: 7.27 MB / 334.1 MB Notification: Performance of SimCode: time 2.023e-06/0.09767, allocations: 4 kB / 453.1 MB, free: 7.266 MB / 334.1 MB Notification: Performance of Templates: time 0.002816/0.1005, allocations: 0.6351 MB / 453.7 MB, free: 6.633 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.makefile (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=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches