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.001068/0.001068, allocations: 102.9 kB / 16.95 MB, free: 5.727 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.001024/0.001024, allocations: 192.1 kB / 17.87 MB, free: 5.18 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.357/1.357, allocations: 205.1 MB / 223.7 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06273/0.06273, allocations: 14.17 MB / 285.3 MB, free: 13.94 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.001484/0.001485, allocations: 71.83 kB / 346.4 MB, free: 0.668 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1953, allocations: 50.12 MB / 396.5 MB, free: 47.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001689/0.1971, allocations: 0.6926 MB / 397.2 MB, free: 47.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001905/0.1973, allocations: 54.77 kB / 397.3 MB, free: 47.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.1973, allocations: 0 / 397.3 MB, free: 47.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/0.1973, allocations: 5.125 kB / 397.3 MB, free: 47.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.647e-05/0.1974, allocations: 7.922 kB / 397.3 MB, free: 47.26 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.1976, allocations: 16.39 kB / 397.3 MB, free: 47.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.264e-05/0.1976, allocations: 31.02 kB / 397.3 MB, free: 47.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.324e-05/0.1977, allocations: 6.266 kB / 397.3 MB, free: 47.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.675e-05/0.1978, allocations: 16.36 kB / 397.4 MB, free: 47.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.436e-05/0.1978, allocations: 11.33 kB / 397.4 MB, free: 47.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.1978, allocations: 3.438 kB / 397.4 MB, free: 47.21 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.358e-06/0.1978, allocations: 2.375 kB / 397.4 MB, free: 47.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.1979, allocations: 7.938 kB / 397.4 MB, free: 47.2 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.1979, allocations: 10.27 kB / 397.4 MB, free: 47.19 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 5.922e-05/0.198, allocations: 24.36 kB / 397.4 MB, free: 47.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.198, allocations: 0 / 397.4 MB, free: 47.17 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.198, allocations: 0 / 397.4 MB, free: 47.17 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.198, allocations: 1.125 kB / 397.4 MB, free: 47.17 MB / 318.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.0002977/0.1983, allocations: 332.8 kB / 397.8 MB, free: 46.81 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.1983, allocations: 13.47 kB / 397.8 MB, free: 46.8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.1984, allocations: 7.531 kB / 397.8 MB, free: 46.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.1985, allocations: 174.7 kB / 397.9 MB, free: 46.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.1985, allocations: 1.625 kB / 397.9 MB, free: 46.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.1985, allocations: 1.531 kB / 397.9 MB, free: 46.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.1987, allocations: 72.47 kB / 398 MB, free: 46.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.505e-06/0.1987, allocations: 192 / 398 MB, free: 46.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1987, allocations: 5.25 kB / 398 MB, free: 46.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1987, allocations: 0 / 398 MB, free: 46.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.1989, allocations: 45.27 kB / 398.1 MB, free: 46.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.1992, allocations: 265.9 kB / 398.3 MB, free: 46.2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.1993, allocations: 75 kB / 398.4 MB, free: 46.13 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.095e-05/0.1994, allocations: 39.09 kB / 398.4 MB, free: 46.1 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.1995, allocations: 0 / 398.4 MB, free: 46.1 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.215e-05/0.1995, allocations: 36.44 kB / 398.5 MB, free: 46.05 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1995, allocations: 4 kB / 398.5 MB, free: 46.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003403/0.1998, allocations: 90.86 kB / 398.6 MB, free: 45.99 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.1999, allocations: 104.2 kB / 398.7 MB, free: 45.87 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.569e-05/0.1999, allocations: 94.42 kB / 398.8 MB, free: 45.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.1999, allocations: 25.7 kB / 398.8 MB, free: 45.74 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.31e-05/0.1999, allocations: 97.67 kB / 398.9 MB, free: 45.64 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.2, allocations: 9.266 kB / 398.9 MB, free: 45.63 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.2, allocations: 16.75 kB / 398.9 MB, free: 45.61 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.437e-05/0.2, allocations: 312.4 kB / 399.2 MB, free: 45.3 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.848e-05/0.2001, allocations: 27.53 kB / 399.2 MB, free: 45.28 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.318e-05/0.2002, allocations: 38.42 kB / 399.3 MB, free: 45.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.2004, allocations: 48.25 kB / 399.3 MB, free: 45.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2004, allocations: 0 / 399.3 MB, free: 45.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001922/0.2006, allocations: 81.06 kB / 399.4 MB, free: 45.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.2006, allocations: 5.094 kB / 399.4 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.2006, allocations: 1.562 kB / 399.4 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.2006, allocations: 0 / 399.4 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.397e-05/0.2007, allocations: 12.27 kB / 399.4 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.2007, allocations: 0 / 399.4 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.493e-05/0.2008, allocations: 5.969 kB / 399.4 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.2008, allocations: 1.469 kB / 399.4 MB, free: 45.15 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.563e-05/0.2009, allocations: 92.34 kB / 399.5 MB, free: 45.06 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.277e-05/0.2009, allocations: 33.28 kB / 399.5 MB, free: 45.03 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.283e-05/0.201, allocations: 28.88 kB / 399.6 MB, free: 45 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.41e-07/0.201, allocations: 0 / 399.6 MB, free: 45 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001106/0.2011, allocations: 61.88 kB / 399.6 MB, free: 44.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.941e-06/0.2011, allocations: 9.469 kB / 399.6 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-06/0.2011, allocations: 0 / 399.6 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-06/0.2011, allocations: 4.078 kB / 399.6 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.551e-05/0.2012, allocations: 9.156 kB / 399.7 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-06/0.2012, allocations: 1.75 kB / 399.7 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.052e-05/0.2012, allocations: 11.61 kB / 399.7 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-06/0.2012, allocations: 1.781 kB / 399.7 MB, free: 44.93 MB / 318.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 3.967e-05/0.2013, allocations: 182 kB / 399.9 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.2013, allocations: 5.766 kB / 399.9 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.895e-05/0.2013, allocations: 19.08 kB / 399.9 MB, free: 44.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2014, allocations: 1.781 kB / 399.9 MB, free: 44.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.2014, allocations: 0 / 399.9 MB, free: 44.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2014, allocations: 1.812 kB / 399.9 MB, free: 44.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.2015, allocations: 163 kB / 400 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2015, allocations: 0 / 400 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.131e-05/0.2016, allocations: 8.062 kB / 400 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2016, allocations: 2.062 kB / 400 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.2016, allocations: 0 / 400 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2016, allocations: 0 / 400 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2016, allocations: 9.312 kB / 400.1 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.202, allocations: 0.9616 MB / 401 MB, free: 43.53 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.202, allocations: 86.25 kB / 401.1 MB, free: 43.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.202, allocations: 5.344 kB / 401.1 MB, free: 43.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.472e-05/0.2021, allocations: 8.094 kB / 401.1 MB, free: 43.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.2022, allocations: 6.234 kB / 401.1 MB, free: 43.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.2022, allocations: 2.344 kB / 401.1 MB, free: 43.42 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.777e-05/0.2022, allocations: 77.44 kB / 401.2 MB, free: 43.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2022, allocations: 4 kB / 401.2 MB, free: 43.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005105/0.2027, allocations: 11.5 kB / 401.2 MB, free: 43.34 MB / 318.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 5.366e-05/0.2028, allocations: 92.34 kB / 401.3 MB, free: 43.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.203, allocations: 60.81 kB / 401.4 MB, free: 43.22 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.203, allocations: 0 / 401.4 MB, free: 43.22 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.683e-05/0.2031, allocations: 23.45 kB / 401.4 MB, free: 43.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.2034, allocations: 14.03 kB / 401.4 MB, free: 43.2 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/0.2037, allocations: 247.8 kB / 401.6 MB, free: 42.94 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.276e-05/0.2038, allocations: 0.6738 MB / 402.3 MB, free: 42.24 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.2038, allocations: 17.66 kB / 402.3 MB, free: 42.23 MB / 318.1 MB Notification: Performance of SimCode: time 6.32e-07/0.2038, allocations: 0 / 402.3 MB, free: 42.23 MB / 318.1 MB Notification: Performance of Templates: time 0.001775/0.2056, allocations: 0.6463 MB / 403 MB, free: 41.9 MB / 318.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=480 -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